Skip to content

release: buffers stack and string helpers (0.22.0) - #61

Merged
tgiachi merged 11 commits into
mainfrom
develop
Jul 4, 2026
Merged

release: buffers stack and string helpers (0.22.0)#61
tgiachi merged 11 commits into
mainfrom
develop

Merge pull request #60 from tgiachi/feature/buffers-string-helpers

324888c
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Jul 4, 2026 in 7s

5 new alerts

New alerts in code changed by this pull request

  • 3 warnings
  • 2 notes

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 178 in src/SquidStd.Core/Buffers/RawInterpolatedStringHandler.cs

See this annotation in the file changed.

Code scanning / CodeQL

Constant condition Warning

Condition is always not null because of
call to method Assert
.

Check warning on line 102 in src/SquidStd.Core/Extensions/Strings/StringHelpers.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning

There is no need to upcast from
Span
to
ReadOnlySpan
- the conversion can be done implicitly.

Check warning on line 39 in tests/SquidStd.Tests/Core/Extensions/Strings/StringHelpersTests.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless upcast Warning test

There is no need to upcast from
Byte\[\]
to
ReadOnlySpan
- the conversion can be done implicitly.

Check notice on line 264 in src/SquidStd.Core/Buffers/STArrayPool.cs

See this annotation in the file changed.

Code scanning / CodeQL

Static field written by instance method Note

Write to static field from instance method, property, or constructor.

Check notice on line 297 in src/SquidStd.Core/Extensions/Strings/StringHelpers.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Select Note

This foreach loop immediately
maps its iteration variable to another variable
- consider mapping the sequence explicitly using '.Select(...)'.