Skip to content

test(MockFileStream): use Read return value to satisfy CA2022

SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 12, 2026 in 19s

Annotations

Check warning on line 43 in tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileStreamTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=TestableIO_System.IO.Abstractions&issues=AZ9Wab_XbXNPmtFBAPsd&open=AZ9Wab_XbXNPmtFBAPsd&pullRequest=1507