W:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStreamWrapper.cs(93,13): warning CA2022: Avoid unreliable call to 'System.IO.UnmanagedMemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] W:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStreamWrapper.cs(93,13): warning CA2022: Avoid unreliable call to 'System.IO.UnmanagedMemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] W:\runtime\src\libraries\System.Private.CoreLib\src\System\IO\UnmanagedMemoryStreamWrapper.cs(93,13): warning CA2022: Avoid unreliable call to 'System.IO.UnmanagedMemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\mono\System.Private.CoreLib\System.Private.CoreLib.csproj] W:\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\XmlBuffer.cs(89,13): warning CA2022: Avoid unreliable call to 'System.IO.BufferedStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.IO.Ports\src\System\IO\Ports\SerialPort.cs(966,13): warning CA2022: Avoid unreliable call to 'System.IO.Ports.SerialStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\src\System.IO.Ports.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Speech\src\Internal\Synthesis\AudioBase.cs(124,25): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Speech\src\System.Speech.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Speech\src\Internal\Synthesis\EngineSite.cs(177,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Speech\src\System.Speech.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Compression\tests\CompressionStreamUnitTests.Deflate.cs(46,61): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Compression\tests\CompressionStreamUnitTests.Deflate.cs(62,17): warning CA2022: Avoid unreliable call to 'System.IO.Compression.DeflateStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(361,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Compression\tests\CompressionStreamUnitTests.Gzip.cs(263,17): warning CA2022: Avoid unreliable call to 'System.IO.Compression.GZipStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(401,84): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(436,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(470,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Compression\tests\ZipArchive\zip_InvalidParametersAndStrangeFiles.cs(389,21): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Compression\tests\ZipArchive\zip_InvalidParametersAndStrangeFiles.cs(478,25): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression\tests\System.IO.Compression.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Formats.Tar\tests\TarReader\TarReader.GetNextEntryAsync.Tests.cs(238,82): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Formats.Tar\tests\System.Formats.Tar.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Formats.Tar\tests\TarReader\TarReader.GetNextEntryAsync.Tests.cs(242,81): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Formats.Tar\tests\System.Formats.Tar.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Resources.Extensions\tests\MyResourceType.cs(63,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Resources.Extensions\tests\System.Resources.Extensions.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Sockets\tests\FunctionalTests\NetworkStreamTest.cs(329,41): warning CA2022: Avoid unreliable call to 'System.Net.Sockets.NetworkStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Sockets\tests\FunctionalTests\System.Net.Sockets.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Sockets\tests\FunctionalTests\NetworkStreamTest.cs(332,41): warning CA2022: Avoid unreliable call to 'System.Net.Sockets.NetworkStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Sockets\tests\FunctionalTests\System.Net.Sockets.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.IsolatedStorage\tests\System\IO\IsolatedStorage\TestHelper.cs(73,13): warning CA2022: Avoid unreliable call to 'System.IO.IsolatedStorage.IsolatedStorageFileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.IsolatedStorage\tests\System.IO.IsolatedStorage.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(361,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression.Brotli\tests\System.IO.Compression.Brotli.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(401,84): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression.Brotli\tests\System.IO.Compression.Brotli.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(436,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression.Brotli\tests\System.IO.Compression.Brotli.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\IO\Compression\CompressionStreamUnitTestBase.cs(470,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Compression.Brotli\tests\System.IO.Compression.Brotli.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(58,19): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicStreamTests.cs(176,23): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(245,104): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(257,110): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(284,104): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(296,110): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(325,104): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicConnectionTests.cs(337,105): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\MsQuicTests.cs(1311,23): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\MsQuicTests.cs(1338,23): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\MsQuicTests.cs(1502,23): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\MsQuicTests.cs(1507,98): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\QuicStreamTests.cs(1189,110): warning CA2022: Avoid unreliable call to 'System.Net.Quic.QuicStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Quic\tests\FunctionalTests\System.Net.Quic.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Diagnostics.Process\tests\ProcessStreamReadTests.cs(337,27): warning CA2022: Avoid unreliable call to 'System.IO.Pipes.PipeStream.ReadAsync(byte[], int, int, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Diagnostics.Process\tests\System.Diagnostics.Process.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\FunctionalTests\TrailingHeadersTest.cs(146,23): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\FunctionalTests\System.Net.Http.WinHttpHandler.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\FunctionalTests\TrailingHeadersTest.cs(165,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\FunctionalTests\System.Net.Http.WinHttpHandler.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\Net\Http\HttpClientHandlerTest.cs(1297,70): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\FunctionalTests\System.Net.Http.WinHttpHandler.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\Read_byte_int_int_Generic.cs(290,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\Read_byte_int_int_Generic.cs(302,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\Read_byte_int_int_Generic.cs(231,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\Read_byte_int_int_Generic.cs(135,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\ReadTimeout.cs(570,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\ReadTimeout.cs(183,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\ReadTimeout.cs(150,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\BeginWrite.cs(241,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Ports\tests\SerialStream\BeginWrite.cs(289,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Ports\tests\System.IO.Ports.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\ReadWriteSpan.cs(25,17): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\ReadWriteSpan.cs(44,23): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\FileStreamConformanceTests.Windows.cs(141,27): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\FlushAsync.cs(50,17): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\Dispose.cs(211,17): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\Dispose.cs(417,17): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\FileStream\Flush.cs(149,17): warning CA2022: Avoid unreliable call to 'System.IO.FileStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.FileSystem.Tests\System.IO.FileSystem.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Security.Cryptography\tests\CryptoStream.cs(462,21): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography\tests\System.Security.Cryptography.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(3656,27): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(3697,23): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\StreamContentTest.cs(43,13): warning CA2022: Avoid unreliable call to 'System.Net.Http.Functional.Tests.StreamContentTest.MockStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\StreamContentTest.cs(96,13): warning CA2022: Avoid unreliable call to 'System.Net.Http.Functional.Tests.StreamContentTest.MockStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\StreamContentTest.cs(149,13): warning CA2022: Avoid unreliable call to 'System.Net.Http.Functional.Tests.StreamContentTest.MockStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\StreamContentTest.cs(188,13): warning CA2022: Avoid unreliable call to 'System.Net.Http.Functional.Tests.StreamContentTest.MockStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(3104,23): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(3119,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\ReadOnlyMemoryContentTest.cs(313,95): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\SocketsHttpHandlerTest.cs(1124,23): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\HttpClientHandlerTest.Http3.cs(458,23): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\HttpClientHandlerTest.Http3.cs(460,92): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\Common\tests\System\Net\Http\HttpClientHandlerTest.cs(1297,70): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\HttpClientHandlerTest.Http2.cs(2399,83): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http\tests\FunctionalTests\System.Net.Http.Functional.Tests.csproj::TargetFramework=net9.0-windows] W:\runtime\src\libraries\System.IO.Pipelines\tests\PipeReaderStreamTests.nonnetstandard.cs(48,83): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Pipelines\tests\System.IO.Pipelines.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.IO.Pipelines\tests\PipeReaderStreamTests.nonnetstandard.cs(150,83): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Pipelines\tests\System.IO.Pipelines.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.IO.Pipelines\tests\PipeReaderStreamTests.nonnetstandard.cs(232,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Pipelines\tests\System.IO.Pipelines.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.IO.Pipelines\tests\PipeReaderStreamTests.nonnetstandard.cs(287,70): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.IO.Pipelines\tests\System.IO.Pipelines.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\TestHelpers.cs(281,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\System.Security.Cryptography.Xml.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\XmlLicenseEncryptedRef.cs(136,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\System.Security.Cryptography.Xml.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\XmlLicenseEncryptedRef.cs(140,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\System.Security.Cryptography.Xml.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\XmlLicenseEncryptedRef.cs(176,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\System.Security.Cryptography.Xml.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\XmlLicenseEncryptedRef.cs(204,21): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Security.Cryptography.Xml\tests\System.Security.Cryptography.Xml.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(215,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(223,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(245,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(254,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(272,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(280,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(317,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(325,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(339,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(347,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(363,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(371,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(619,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(624,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(628,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(629,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(639,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(644,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(648,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(649,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(687,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Memory.Data\tests\BinaryDataTests.cs(717,19): warning CA2022: Avoid unreliable call to 'System.IO.Stream.ReadAsync(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Memory.Data\tests\System.Memory.Data.Tests.csproj::TargetFramework=net9.0] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\WinHttpResponseStreamTest.cs(309,48): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\System.Net.Http.WinHttpHandler.Unit.Tests.csproj] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\WinHttpResponseStreamTest.cs(318,48): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\System.Net.Http.WinHttpHandler.Unit.Tests.csproj] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\WinHttpResponseStreamTest.cs(327,48): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\System.Net.Http.WinHttpHandler.Unit.Tests.csproj] W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\WinHttpResponseStreamTest.cs(300,48): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Net.Http.WinHttpHandler\tests\UnitTests\System.Net.Http.WinHttpHandler.Unit.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\BufferedStream\BufferedStreamTests.cs(391,13): warning CA2022: Avoid unreliable call to 'System.IO.BufferedStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\System.IO.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\MemoryStream\MemoryStreamTests.cs(42,21): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\System.IO.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\MemoryStream\MemoryStreamTests.cs(61,17): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\System.IO.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\MemoryStream\MemoryStreamTests.cs(130,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\System.IO.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\MemoryStream\MemoryStreamTests.cs(147,19): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.ReadAsync(System.Memory, System.Threading.CancellationToken)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.IO.Tests\System.IO.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlSerializer\XmlSerializerTests.cs(1082,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\Microsoft.XmlSerializer.Generator\tests\Microsoft.XmlSerializer.Generator.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlSerializer\XmlSerializerTests.cs(1082,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\XmlSerializer\ReflectionOnly\System.Xml.XmlSerializer.ReflectionOnly.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.Text.Encoding.Tests\Encoding\TranscodingStreamTests.cs(191,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.Text.Encoding.Tests\System.Text.Encoding.Tests.csproj] W:\runtime\src\libraries\System.Runtime\tests\System.Text.Encoding.Tests\Encoding\TranscodingStreamTests.cs(199,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(System.Span)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Runtime\tests\System.Text.Encoding.Tests\System.Text.Encoding.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverAddRemoveTests.cs(49,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverAddRemoveTests.cs(57,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(57,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(79,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(86,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(117,13): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(133,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlResolver\System.Xml.XmlResolver.Tests\XmlPreloadedResolverGetEntity.cs(140,17): warning CA2022: Avoid unreliable call to 'System.IO.Stream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlSerializer\XmlSerializerTests.cs(1082,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj] W:\runtime\src\libraries\System.Private.Xml\tests\XmlWriter\DisposeTests.cs(51,13): warning CA2022: Avoid unreliable call to 'System.IO.MemoryStream.Read(byte[], int, int)' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2022) [W:\runtime\src\libraries\System.Private.Xml\tests\System.Private.Xml.Tests.csproj]