D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\GeneratedStatements.cs(91,40): warning CA1859: Change return type of method 'GenerateStatementForNativeInvoke' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnaly sis.CSharp.Syntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\GeneratedStatements.cs(119,40): warning CA1859: Change return type of method 'GenerateStatementForManagedInvoke' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAna lysis.CSharp.Syntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.cs(171,48): warning CA1859: Change return type of method 'PrintGeneratedSource' from 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax' to 'Microsoft.CodeAnalysis.CSharp.S yntax.MethodDeclarationSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.csproj] D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.cs(498,36): warning CA1859: Change return type of method 'FilterOutUnmanagedAssemblies' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net472] D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.cs(1043,37): warning CA1859: Change return type of method 'ConvertAssembliesDictToOrderedList' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net472] D:\dotnet\runtime\src\tasks\WasmAppBuilder\EmccCompile.cs(241,27): warning CA1859: Change type of variable 'newItem' from 'Microsoft.Build.Framework.ITaskItem' to 'Microsoft.Build.Utilities.TaskItem' for improved performance [D:\dotnet\runtime\src\tasks\WasmAppBuilder\WasmAppBuilder.csproj::Targ etFramework=net472] D:\dotnet\runtime\src\tasks\WasmAppBuilder\EmccCompile.cs(294,45): warning CA1859: Change return type of method 'GetEnvironmentVariablesDict' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotn et\runtime\src\tasks\WasmAppBuilder\WasmAppBuilder.csproj::TargetFramework=net472] D:\dotnet\runtime\src\tasks\WasmAppBuilder\EmccCompile.cs(241,27): warning CA1859: Change type of variable 'newItem' from 'Microsoft.Build.Framework.ITaskItem' to 'Microsoft.Build.Utilities.TaskItem' for improved performance [D:\dotnet\runtime\src\tasks\WasmAppBuilder\WasmAppBuilder.csproj::Targ etFramework=net7.0] D:\dotnet\runtime\src\tasks\WasmAppBuilder\EmccCompile.cs(294,45): warning CA1859: Change return type of method 'GetEnvironmentVariablesDict' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotn et\runtime\src\tasks\WasmAppBuilder\WasmAppBuilder.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\tasks\MonoTargetsTasks\RuntimeConfigParser\RuntimeConfigParser.cs(121,78): warning CA1859: Change type of parameter 'properties' from 'System.Collections.Generic.IReadOnlyDictionary' to 'System.Collections.Generic.Dictionary' for improved per formance [D:\dotnet\runtime\src\tasks\MonoTargetsTasks\MonoTargetsTasks.csproj::TargetFramework=net472] D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.cs(1043,37): warning CA1859: Change return type of method 'ConvertAssembliesDictToOrderedList' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.cs(498,36): warning CA1859: Change return type of method 'FilterOutUnmanagedAssemblies' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\tasks\MonoTargetsTasks\RuntimeConfigParser\RuntimeConfigParser.cs(121,78): warning CA1859: Change type of parameter 'properties' from 'System.Collections.Generic.IReadOnlyDictionary' to 'System.Collections.Generic.Dictionary' for improved per formance [D:\dotnet\runtime\src\tasks\MonoTargetsTasks\MonoTargetsTasks.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\GeneratedStatements.cs(91,40): warning CA1859: Change return type of method 'GenerateStatementForNativeInvoke' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnaly sis.CSharp.Syntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\GeneratedStatements.cs(119,40): warning CA1859: Change return type of method 'GenerateStatementForManagedInvoke' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAna lysis.CSharp.Syntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\Microsoft.Interop.SourceGeneration\Microsoft.Interop.SourceGeneration.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.cs(171,48): warning CA1859: Change return type of method 'PrintGeneratedSource' from 'Microsoft.CodeAnalysis.CSharp.Syntax.MemberDeclarationSyntax' to 'Microsoft.CodeAnalysis.CSharp.S yntax.MethodDeclarationSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices\gen\LibraryImportGenerator\LibraryImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.Win32.cs(64,36): warning CA1859: Change return type of method 'GetEnvironmentVariablesFromRegistry' from 'System.Collections.IDictionary' to 'System.Collections.Hashtable' for improved performance [D:\dotnet\runtime\sr c\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs(2183,34): warning CA1859: Change return type of method 'CreateInvalidFormatSpecifierException' from 'System.Exception' to 'System.FormatException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.Core Lib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs(2187,34): warning CA1859: Change return type of method 'CreateUnknownEnumTypeException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.C oreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceSet.cs(126,26): warning CA1859: Change type of variable 'copyOfTableAsIDictionary' from 'System.Collections.IDictionary?' to 'System.Collections.Generic.Dictionary?' for improved performance [D:\ dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs(6064,40): warning CA1859: Change type of field 'errors' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\sr c\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\Assembly.CoreCLR.cs(86,34): warning CA1859: Change return type of method 'GetEntryAssemblyInternal' from 'System.Reflection.Assembly?' to 'System.Reflection.RuntimeAssembly?' for improved performance [D:\dotnet\runtime\sr c\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Runtime\Loader\AssemblyLoadContext.CoreCLR.cs(57,26): warning CA1859: Change return type of method 'InternalLoadFromPath' from 'System.Reflection.Assembly' to 'System.Reflection.RuntimeAssembly' for improved performance [D:\dotnet\r untime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\AsyncTaskMethodBuilderT.cs(245,60): warning CA1859: Change return type of method 'CreateDebugFinalizableAsyncStateMachineBox' from 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder.AsyncStat eMachineBox' to 'System.Runtime.CompilerServices.AsyncTaskMethodBuilder.DebugFinalizableAsyncStateMachineBox' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(175,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sy stem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(162,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sy stem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(215,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sy stem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(228,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sy stem.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\RuntimeCustomAttributeData.cs(95,51): warning CA1859: Change return type of method 'GetCombinedList' from 'System.Collections.Generic.IList' to 'System.Collections.ObjectModel.ReadOnlyCollection' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs(1072,73): warning CA1859: Change type of parameter 'writer' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.c sproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs(761,62): warning CA1859: Change type of parameter 'writer' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.cs proj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\Emit\DynamicILGenerator.cs(406,50): warning CA1859: Change type of parameter 'methodInfo' from 'System.Reflection.MethodBase' to 'System.Reflection.MethodInfo' for improved performance [D:\dotnet\runtime\src\coreclr\Syste m.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\Emit\TypeBuilder.cs(1711,27): warning CA1859: Change return type of method 'CreateTypeNoLock' from 'System.Reflection.TypeInfo?' to 'System.RuntimeType?' for improved performance [D:\dotnet\runtime\src\coreclr\System.Priv ate.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3201,36): warning CA1859: Change return type of method 'GetPropertyWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.Reflection.RuntimePropertyInfo?' for improved performance [D:\do tnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3233,36): warning CA1859: Change return type of method 'GetEventWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.Reflection.RuntimeEventInfo?' for improved performance [D:\dotnet\r untime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3169,36): warning CA1859: Change return type of method 'GetMethodWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.Reflection.RuntimeMethodInfo?' for improved performance [D:\dotnet \runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(1998,37): warning CA1859: Change return type of method 'GetPropertyInfo' from 'System.Reflection.PropertyInfo' to 'System.Reflection.RuntimePropertyInfo' for improved performance [D:\dotnet\runtime\src\coreclr \System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3249,36): warning CA1859: Change return type of method 'GetNestedTypeWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.RuntimeType?' for improved performance [D:\dotnet\runtime\src\ coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3217,36): warning CA1859: Change return type of method 'GetFieldWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.Reflection.RuntimeFieldInfo?' for improved performance [D:\dotnet\r untime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\RuntimeType.CoreCLR.cs(3185,36): warning CA1859: Change return type of method 'GetConstructorWithSameMetadataDefinitionAs' from 'System.Reflection.MemberInfo?' to 'System.Reflection.RuntimeConstructorInfo?' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4394,30): warning CA1859: Change type of variable 'continuation' from 'System.Threading.Tasks.TaskContinuation' to 'System.Threading.Tasks.ContinueWithTaskContinuation' for improved performance [D:\dotnet\r untime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs(115,22): warning CA1859: Change type of variable 'assembly' from 'System.Reflection.Assembly' to 'System.Reflection.RuntimeAssembly' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.C oreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IndexOfAnyValues\IndexOfAnyValues.cs(133,45): warning CA1859: Change return type of method 'TryGetSingleRange' from 'System.Buffers.IndexOfAnyValues?' to 'System.Buffers.IndexOfAnyValuesInRange?' for improved performance [D: \dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2739,34): warning CA1859: Change return type of method 'GetOverflowException' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\S ystem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2776,34): warning CA1859: Change return type of method 'GetExceptionInt128' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sys tem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2784,34): warning CA1859: Change return type of method 'GetExceptionUInt128' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\Sy stem.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs(1934,34): warning CA1859: Change return type of method 'InvalidCast' from 'System.Exception' to 'System.InvalidCastException' for improved performance [D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\System.Privat e.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs(2155,124): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\run time\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs(3197,121): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\run time\src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs(94,22): warning CA1859: Change type of variable 'owningType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.TypeSystem\ILCo mpiler.TypeSystem.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaSignatureParser.cs(85,26): warning CA1859: Change return type of method 'GetWellKnownType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.TypeSystem\ILCompiler.TypeSystem.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaModule.cs(171,24): warning CA1859: Change return type of method 'ResolveModuleReference' from 'object' to 'Internal.TypeSystem.ModuleDesc' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.TypeSystem\ILComp iler.TypeSystem.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\Ecma\EcmaType.cs(57,22): warning CA1859: Change type of variable 'containingType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.TypeSystem\ILC ompiler.TypeSystem.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.MetadataTransform\Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs(1033,102): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer' to 'System.Collections.Generic.EqualityComparer ' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.MetadataTransform\ILCompiler.MetadataTransform.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.MetadataTransform\Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs(1058,94): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer' to 'System.Collections.Generic.EqualityComparer< T>' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.MetadataTransform\ILCompiler.MetadataTransform.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Internal\NativeFormat\NativeFormatWriter.cs(198,33): warning CA1859: Change type of field '_stringEncoding' from 'System.Text.Encoding' to 'System.Text.UTF8Encoding' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.MetadataTr ansform\ILCompiler.MetadataTransform.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs(90,22): warning CA1859: Change type of variable 'declType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\core clr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs(146,22): warning CA1859: Change type of variable 'declType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\cor eclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\IL\ILImporter.Scanner.cs(1342,26): warning CA1859: Change return type of method 'GetWellKnownType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\IL Compiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs(346,91): warning CA1859: Change type of parameter 'type' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs(211,85): warning CA1859: Change type of parameter 'type' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs(158,87): warning CA1859: Change type of parameter 'type' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs(278,98): warning CA1859: Change type of parameter 'type' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\Compiler\NativeAotNameMangler.cs(143,78): warning CA1859: Change type of parameter 'set' from 'System.Collections.Generic.ISet' to 'System.Collections.Generic.HashSet' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILC ompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\ComparerIntrinsics.cs(96,33): warning CA1859: Change return type of method 'GetComparerForType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.InstantiatedType?' for improved performance [D:\dotnet\runtime\src\coreclr\to ols\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\SealedVTableNode.cs(102,22): warning CA1859: Change type of variable 'declType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\too ls\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs(378,26): warning CA1859: Change return type of method 'EmitIL' from 'Internal.IL.MethodIL' to 'Internal.IL.Stubs.PInvokeILStubMethodIL' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler. Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\Dataflow\FlowAnnotations.cs(333,30): warning CA1859: Change type of variable 'baseType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCo mpiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\UsageBasedMetadataManager.cs(139,26): warning CA1859: Change type of variable 'fieldOwningType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\ aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\UsageBasedMetadataManager.cs(731,26): warning CA1859: Change type of variable 'fieldOwningType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\ aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\EETypeNode.cs(1225,32): warning CA1859: Change type of variable 'universalCanonMethodNonCanonicalized' from 'Internal.TypeSystem.MethodDesc' to 'Internal.TypeSystem.InstantiatedMethod' for improved performanc e [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\EETypeNode.cs(836,121): warning CA1859: Change type of parameter 'declType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\a ot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(908,40): warning CA1859: Change type of variable 'dictionaryLayout' from 'ILCompiler.DependencyAnalysis.NativeLayoutVertexNode' to 'ILCompiler.DependencyAnalysis.NativeLayoutPlacedVe rtexSequenceVertexNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(435,44): warning CA1859: Change type of field '_parameterTypeSig' from 'ILCompiler.DependencyAnalysis.NativeLayoutVertexNode' to 'ILCompiler.DependencyAnalysis.NativeLayoutTypeSignat ureVertexNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(251,50): warning CA1859: Change return type of method 'GetGenericVirtualMethodDependencies' from 'System.Collections.Generic.IEnumerable.DependencyListEntry>' to 'ILCompiler.DependencyAnalysisFramework.DependencyNodeCore.DependencyList' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler. Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(1281,44): warning CA1859: Change type of variable 'fieldTypeSignature' from 'ILCompiler.DependencyAnalysis.NativeLayoutVertexNode' to 'ILCompiler.DependencyAnalysis.NativeLayoutPlace dSignatureVertexNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(1186,40): warning CA1859: Change type of variable 'dictionaryLayout' from 'ILCompiler.DependencyAnalysis.NativeLayoutVertexNode' to 'ILCompiler.DependencyAnalysis.NativeLayoutPlacedV ertexSequenceVertexNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs(1172,40): warning CA1859: Change type of variable 'implementedInterfaces' from 'ILCompiler.DependencyAnalysis.NativeLayoutVertexNode' to 'ILCompiler.DependencyAnalysis.NativeLayoutPl acedVertexSequenceVertexNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\ILAssemblyGeneratingMethodDebugInfoProvider.cs(22,37): warning CA1859: Change type of field '_tw' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompi ler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\ILAssemblyGeneratingMethodDebugInfoProvider.cs(58,40): warning CA1859: Change return type of method 'GetDebugInformation' from 'Internal.IL.MethodDebugInformation' to 'ILCompiler.ILAssemblyGeneratingMethodDebugInfoProvider.Synt heticMethodDebugInformation' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\RootingHelpers.cs(27,84): warning CA1859: Change type of parameter 'type' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.InstantiatedType' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompile r.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\ILScanner.cs(318,42): warning CA1859: Change return type of method 'GetPrecomputedLayout' from 'ILCompiler.DependencyAnalysis.DictionaryLayoutNode' to 'ILCompiler.DependencyAnalysis.PrecomputedDictionaryLayoutNode' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\Compilation.cs(471,24): warning CA1859: Change type of variable 'slotNormalizedMethod' from 'Internal.TypeSystem.MethodDesc' to 'Internal.TypeSystem.InstantiatedMethod' for improved performance [D:\dotnet\runtime\src\coreclr\to ols\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\Compilation.cs(499,30): warning CA1859: Change type of variable 'runtimeDeterminedBaseTypeDefinition' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\ tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.Compiler\Compiler\TypePreinit.cs(1433,30): warning CA1859: Change return type of method 'NewUninitializedLocationValue' from 'ILCompiler.TypePreinit.Value' to 'ILCompiler.TypePreinit.ValueTypeValue?' for improved performance [D:\dotnet\runtime\s rc\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.ReadyToRun\IBC\MIbcProfileParser.cs(653,37): warning CA1859: Change type of field '_wrappedResolver' from 'Internal.TypeSystem.IModuleResolver' to 'Internal.TypeSystem.TypeSystemContext' for improved performance [D:\dotnet\runtime\src\coreclr\to ols\aot\ILCompiler.RyuJit\ILCompiler.RyuJit.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler.RyuJit\JitInterface\CorInfoImpl.RyuJit.cs(48,28): warning CA1859: Change return type of method 'getUnboxingThunk' from 'Internal.TypeSystem.MethodDesc' to 'Internal.JitInterface.UnboxingMethodDesc' for improved performance [D:\dotnet\runtime\src \coreclr\tools\aot\ILCompiler.RyuJit\ILCompiler.RyuJit.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\CommandLineHelpers.cs(183,38): warning CA1859: Change type of variable 'descriptor' from 'System.CommandLine.Binding.IValueDescriptor' to 'System.CommandLine.Option' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler\ILCompiler .csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler\Program.cs(264,32): warning CA1859: Change type of variable 'builder' from 'ILCompiler.CompilationBuilder' to 'ILCompiler.RyuJitCompilationBuilder' for improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler\ILCompiler.csproj] D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler\Program.cs(42,49): warning CA1859: Change return type of method 'CreateInitializerList' from 'System.Collections.Generic.IReadOnlyCollection' to 'System.Collections.Generic.List' fo r improved performance [D:\dotnet\runtime\src\coreclr\tools\aot\ILCompiler\ILCompiler.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\Internal\Runtime\CompilerHelpers\SynchronizedMethodHelpers.cs(56,31): warning CA1859: Change return type of method 'GetStaticLockObject' from 'object' to 'System.Type' for improved performance [D:\dotnet\runtime\src\coreclr\nativ eaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Reflection\Runtime\TypeInfos\RuntimeTypeInfo.cs(279,30): warning CA1859: Change type of variable 'ifc' from 'System.Type' to 'System.Reflection.Runtime.TypeInfos.RuntimeTypeInfo' for improved performance [D:\dotnet\runtime \src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.Win32.cs(64,36): warning CA1859: Change return type of method 'GetEnvironmentVariablesFromRegistry' from 'System.Collections.IDictionary' to 'System.Collections.Hashtable' for improved performance [D:\dotnet\runtime\sr c\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Reflection\Runtime\MethodInfos\RuntimeMethodInfo.cs(316,24): warning CA1859: Change type of variable 'invokeMethod' from 'System.Reflection.MethodInfo' to 'System.Reflection.Runtime.MethodInfos.RuntimeMethodInfo' for impro ved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Reflection\Runtime\Dispensers\DispenserFactory.cs(57,49): warning CA1859: Change type of field 's_dispenserPolicy' from 'System.Reflection.Runtime.Dispensers.DispenserPolicy' to 'System.Reflection.Runtime.Dispensers.Defaul tDispenserPolicy' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs(6064,40): warning CA1859: Change type of field 'errors' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\sr c\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs(2183,34): warning CA1859: Change return type of method 'CreateInvalidFormatSpecifierException' from 'System.Exception' to 'System.FormatException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Pr ivate.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Enum.cs(2187,34): warning CA1859: Change return type of method 'CreateUnknownEnumTypeException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System .Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Reflection\Runtime\General\Dispensers.NativeFormat.cs(202,44): warning CA1859: Change return type of method 'GetCustomAttributeData' from 'System.Reflection.CustomAttributeData' to 'System.Reflection.Runtime.CustomAttribut es.NativeFormat.NativeFormatCustomAttributeData' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Reflection\Runtime\General\ReflectionCoreCallbacksImplementation.cs(163,34): warning CA1859: Change return type of method 'GetFieldInfo' from 'System.Reflection.FieldInfo' to 'System.Reflection.Runtime.FieldInfos.RuntimeFi eldInfo' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceSet.cs(126,26): warning CA1859: Change type of variable 'copyOfTableAsIDictionary' from 'System.Collections.IDictionary?' to 'System.Collections.Generic.Dictionary?' for improved performance [D:\ dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System\Exception.NativeAot.cs(29,36): warning CA1859: Change return type of method 'CreateDataContainer' from 'System.Collections.IDictionary' to 'System.Collections.ListDictionaryInternal' for improved performance [D:\dotnet\run time\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(175,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private. CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamWriter.cs(162,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private. CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(215,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private. CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\StreamReader.cs(228,31): warning CA1859: Change return type of method 'ValidateArgsAndOpenPath' from 'System.IO.Stream' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private. CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IndexOfAnyValues\IndexOfAnyValues.cs(133,45): warning CA1859: Change return type of method 'TryGetSingleRange' from 'System.Buffers.IndexOfAnyValues?' to 'System.Buffers.IndexOfAnyValuesInRange?' for improved performance [D: \dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs(1072,73): warning CA1859: Change type of parameter 'writer' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Pri vate.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\IO\File.cs(761,62): warning CA1859: Change type of parameter 'writer' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Priv ate.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\DateTime.cs(1934,34): warning CA1859: Change return type of method 'InvalidCast' from 'System.Exception' to 'System.InvalidCastException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.CoreLib\src \System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Threading\Tasks\Task.cs(4394,30): warning CA1859: Change type of variable 'continuation' from 'System.Threading.Tasks.TaskContinuation' to 'System.Threading.Tasks.ContinueWithTaskContinuation' for improved performance [D:\dotnet\r untime\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs(2155,124): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\run time\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs(3197,121): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\run time\src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2776,34): warning CA1859: Change return type of method 'GetExceptionInt128' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.C oreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2784,34): warning CA1859: Change return type of method 'GetExceptionUInt128' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private. CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Parsing.cs(2739,34): warning CA1859: Change return type of method 'GetOverflowException' from 'System.Exception' to 'System.OverflowException' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private .CoreLib\src\System.Private.CoreLib.csproj] D:\dotnet\runtime\src\coreclr\tools\Common\TypeSystem\Common\FieldDesc.cs(94,22): warning CA1859: Change type of variable 'owningType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\ src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\Internal\Runtime\TypeLoader\NativeLayoutInfoLoadContext.cs(32,26): warning CA1859: Change return type of method 'GetInstantiationType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performan ce [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\Internal\Runtime\TypeLoader\TypeBuilder.cs(1279,26): warning CA1859: Change type of variable 'byRefType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.ByRefType' for improved performance [D:\dotnet\runtime\src\co reclr\nativeaot\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\Internal\Runtime\TypeLoader\TypeBuilder.cs(335,24): warning CA1859: Change type of variable 'templateMethod' from 'Internal.TypeSystem.MethodDesc' to 'Internal.TypeSystem.InstantiatedMethod' for improved performance [D:\dotnet \runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\Internal\Runtime\TypeLoader\TypeBuilder.cs(1259,26): warning CA1859: Change type of variable 'pointerType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.PointerType' for improved performance [D:\dotnet\runtime\sr c\coreclr\nativeaot\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.TypeLoader\src\Internal\Runtime\TypeLoader\TypeBuilder.cs(746,84): warning CA1859: Change type of parameter 'baseType' from 'Internal.TypeSystem.TypeDesc' to 'Internal.TypeSystem.DefType' for improved performance [D:\dotnet\runtime\src\corec lr\nativeaot\System.Private.TypeLoader\src\System.Private.TypeLoader.csproj] D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.Reflection.Execution\src\Internal\Reflection\Execution\ExecutionEnvironmentImplementation.ManifestResources.cs(69,38): warning CA1859: Change return type of method 'ReadResourceFromBlob' from 'System.IO.Stream' to 'System.IO.UnmanagedMemoryS tream' for improved performance [D:\dotnet\runtime\src\coreclr\nativeaot\System.Private.Reflection.Execution\src\System.Private.Reflection.Execution.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\PrimitiveJSGenerator.cs(71,33): warning CA1859: Change return type of method 'ToManagedMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp. Syntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\PrimitiveJSGenerator.cs(78,33): warning CA1859: Change return type of method 'ToJSMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Synta x.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\TaskJSGenerator.cs(89,33): warning CA1859: Change return type of method 'ToJSMethodVoid' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Syntax .ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\TaskJSGenerator.cs(96,33): warning CA1859: Change return type of method 'ToManagedMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Synta x.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\TaskJSGenerator.cs(119,33): warning CA1859: Change return type of method 'ToJSMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Syntax.Ex pressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\TaskJSGenerator.cs(82,33): warning CA1859: Change return type of method 'ToManagedMethodVoid' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.S yntax.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\FuncJSGenerator.cs(82,33): warning CA1859: Change return type of method 'ToManagedMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Synta x.ExpressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\Marshaling\FuncJSGenerator.cs(104,33): warning CA1859: Change return type of method 'ToJSMethod' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Syntax.Ex pressionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportCodeGenerator.cs(193,33): warning CA1859: Change return type of method 'InvokeSyntax' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Syntax.Expre ssionStatementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSExportCodeGenerator.cs(182,33): warning CA1859: Change return type of method 'InvokeSyntax' from 'Microsoft.CodeAnalysis.CSharp.Syntax.StatementSyntax' to 'Microsoft.CodeAnalysis.CSharp.Syntax.TrySt atementSyntax' for improved performance [D:\dotnet\runtime\src\libraries\System.Runtime.InteropServices.JavaScript\gen\JSImportGenerator\JSImportGenerator.csproj] D:\dotnet\runtime\src\libraries\System.Net.WebSockets\src\System\Net\WebSockets\ManagedWebSocket.cs(1538,34): warning CA1859: Change return type of method 'CreateOperationCanceledException' from 'System.Exception' to 'System.OperationCanceledException' for improved performance [D:\dotnet\runtime \src\libraries\System.Net.WebSockets\src\System.Net.WebSockets.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Diagnostics.Process\src\System\Diagnostics\Process.Windows.cs(646,33): warning CA1859: Change return type of method 'GetEncoding' from 'System.Text.Encoding' to 'System.Text.ConsoleEncoding' for improved performance [D:\dotnet\runtime\src\libraries\System.D iagnostics.Process\src\System.Diagnostics.Process.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Formats.Tar\src\System\Formats\Tar\TarHeader.Write.cs(646,32): warning CA1859: Change return type of method 'GenerateExtendedAttributesDataStream' from 'System.IO.Stream?' to 'System.IO.MemoryStream?' for improved performance [D:\dotnet\runtime\src\librarie s\System.Formats.Tar\src\System.Formats.Tar.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Formats.Tar\src\System\Formats\Tar\TarFile.cs(408,52): warning CA1859: Change return type of method 'GetFileSystemEnumerationForCreation' from 'System.Collections.Generic.IEnumerable' to 'System.IO.Enumeration.FileSystemEnumerable< System.IO.FileSystemInfo>' for improved performance [D:\dotnet\runtime\src\libraries\System.Formats.Tar\src\System.Formats.Tar.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\WebSockets\ServerWebSocket.cs(69,28): warning CA1859: Change return type of method 'CreateWebSocketHandle' from 'System.Runtime.InteropServices.SafeHandle' to 'System.Net.WebSockets.SafeWebSocketHandle' for improved p erformance [D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\HttpListenerRequestUriBuilder.cs(18,42): warning CA1859: Change type of field 's_utf8Encoding' from 'System.Text.Encoding' to 'System.Text.UTF8Encoding' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Htt pListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpResponseStream.Windows.cs(359,27): warning CA1859: Change type of variable 'exception' from 'System.Exception' to 'System.Net.HttpListenerException' for improved performance [D:\dotnet\runtime\src\libraries\System .Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpResponseStream.Windows.cs(216,31): warning CA1859: Change type of variable 'exception' from 'System.Exception' to 'System.Net.HttpListenerException' for improved performance [D:\dotnet\runtime\src\libraries\System .Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\VariantBuilder.cs(104,35): warning CA1859: Change return type of method 'Release' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MethodCallExpression' for improved performance [D :\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpResponseStream.Windows.cs(139,27): warning CA1859: Change type of variable 'exception' from 'System.Exception' to 'System.Net.HttpListenerException' for improved performance [D:\dotnet\runtime\src\libraries\System .Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpResponseStream.Windows.cs(149,30): warning CA1859: Change return type of method 'BeginWriteCore' from 'System.IAsyncResult' to 'System.Net.HttpResponseStreamAsyncResult' for improved performance [D:\dotnet\runtime \src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs(331,28): warning CA1859: Change return type of method 'GenerateFinallyBlock' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved perfo rmance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpRequestStream.Windows.cs(96,31): warning CA1859: Change type of variable 'exception' from 'System.Exception' to 'System.Net.HttpListenerException' for improved performance [D:\dotnet\runtime\src\libraries\System.N et.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.HttpListener\src\System\Net\Windows\HttpRequestStream.Windows.cs(202,35): warning CA1859: Change type of variable 'exception' from 'System.Exception' to 'System.Net.HttpListenerException' for improved performance [D:\dotnet\runtime\src\libraries\System. Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs(389,28): warning CA1859: Change return type of method 'MakeIDispatchInvokeTarget' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComInvokeBinder.cs(184,28): warning CA1859: Change return type of method 'GenerateTryBlock' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performan ce [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(876,29): warning CA1859: Change return type of method 'GenerateConstant' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.S emantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(788,29): warning CA1859: Change return type of method 'GenerateParameter' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder. Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(680,22): warning CA1859: Change return type of method 'GenerateValueAccessConversion' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.Ru ntimeBinder.Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(672,29): warning CA1859: Change return type of method 'GenerateConversionWithSource' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.Run timeBinder.Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(360,22): warning CA1859: Change return type of method 'GenerateDelegateInvoke' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBi nder.Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(831,22): warning CA1859: Change return type of method 'GenerateConstructor' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinde r.Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Tree\Visitors\ExpressionTreeRewriter.cs(630,22): warning CA1859: Change return type of method 'GenerateUserDefinedComparisonOperator' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.C Sharp.RuntimeBinder.Semantics.ExprCall' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs(618,22): warning CA1859: Change return type of method 'CreateProperty' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprProperty' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\RuntimeBinder.cs(721,30): warning CA1859: Change return type of method 'BindCall' from 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprWithArgs' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprCall' for improved p erformance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(463,28): warning CA1859: Change return type of method 'GenerateNew' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.NewExpression' for improved performance [D:\ dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(244,28): warning CA1859: Change return type of method 'GenerateCall' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MethodCallExpression' for improved performa nce [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(638,28): warning CA1859: Change return type of method 'GenerateUnaryOperator' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.UnaryExpression' for improved perf ormance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(663,28): warning CA1859: Change return type of method 'GenerateUserDefinedUnaryOperator' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.UnaryExpression' for im proved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(561,28): warning CA1859: Change return type of method 'GenerateUserDefinedBinaryOperator' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(423,28): warning CA1859: Change return type of method 'GenerateField' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MemberExpression' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(451,28): warning CA1859: Change return type of method 'GenerateInvoke' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.InvocationExpression' for improved perfor mance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(498,28): warning CA1859: Change return type of method 'GenerateBinaryOperator' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression' for improved pe rformance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(475,35): warning CA1859: Change return type of method 'GenerateConstantType' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.ConstantExpression' for improved pe rformance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(486,28): warning CA1859: Change return type of method 'GenerateAssignment' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression' for improved perfor mance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ExpressionTreeCallRewriter.cs(288,28): warning CA1859: Change return type of method 'GenerateArrayIndex' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.IndexExpression' for improved perform ance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(2330,22): warning CA1859: Change return type of method 'BindUserBoolOp' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprUserLogicalOp' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(1866,30): warning CA1859: Change return type of method 'BindBoolBitwiseOp' from 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprOperator' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprBinO p' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Conversion.cs(1375,29): warning CA1859: Change return type of method 'BindDecimalConstCast' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprConstant ?' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(1969,29): warning CA1859: Change return type of method 'BindDelBinOp' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprBinOp' for improv ed performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(1513,30): warning CA1859: Change return type of method 'BindLiftedStandardUnop' from 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprOperator' to 'Microsoft.CSharp.RuntimeBinder.Semantics.Exp rUnaryOp' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(1606,22): warning CA1859: Change return type of method 'BindIncOp' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprMulti' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\Semantics\Operators.cs(1825,29): warning CA1859: Change return type of method 'BindStrBinOp' from 'Microsoft.CSharp.RuntimeBinder.Semantics.Expr' to 'Microsoft.CSharp.RuntimeBinder.Semantics.ExprConcat' for impro ved performance [D:\dotnet\runtime\src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.IO.Compression\src\System\IO\Compression\ZipArchive.cs(120,34): warning CA1859: Change type of parameter 'stream' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\libraries\System.IO.Compression\src\System. IO.Compression.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.IO.Compression\src\System\IO\Compression\ZipArchiveEntry.cs(711,24): warning CA1859: Change return type of method 'OpenInUpdateMode' from 'System.IO.Stream' to 'System.IO.Compression.WrappedStream' for improved performance [D:\dotnet\runtime\src\libraries\S ystem.IO.Compression\src\System.IO.Compression.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.IO.Compression\src\System\IO\Compression\ZipArchiveEntry.cs(690,24): warning CA1859: Change return type of method 'OpenInWriteMode' from 'System.IO.Stream' to 'System.IO.Compression.WrappedStream' for improved performance [D:\dotnet\runtime\src\libraries\Sy stem.IO.Compression\src\System.IO.Compression.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Console\src\System\ConsolePal.Windows.cs(62,31): warning CA1859: Change return type of method 'GetStandardFile' from 'System.IO.Stream' to 'System.ConsolePal.WindowsConsoleStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Console\src\ System.Console.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\Headers\KnownHeaders.cs(110,42): warning CA1859: Change return type of method 'GetAltSvcHeaderParser' from 'System.Net.Http.Headers.HttpHeaderParser?' to 'System.Net.Http.Headers.AltSvcHeaderParser' for improved performance [D:\ dotnet\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\Headers\TransferCodingHeaderParser.cs(45,50): warning CA1859: Change return type of method 'CreateTransferCodingWithQuality' from 'System.Net.Http.Headers.TransferCodingHeaderValue' to 'System.Net.Http.Headers.TransferCodingWith QualityHeaderValue' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\MultipartContent.cs(352,31): warning CA1859: Change return type of method 'EncodeStringToNewStream' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Http\sr c\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\MultipartContent.cs(357,24): warning CA1859: Change return type of method 'EncodeHeadersToNewStream' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Http\s rc\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\HttpContent.cs(627,31): warning CA1859: Change return type of method 'CreateMemoryStream' from 'System.IO.MemoryStream?' to 'System.Net.Http.HttpContent.LimitMemoryStream?' for improved performance [D:\dotnet\runtime\src\librari es\System.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\HttpContent.cs(835,34): warning CA1859: Change return type of method 'CreateOverCapacityException' from 'System.Exception' to 'System.Net.Http.HttpRequestException' for improved performance [D:\dotnet\runtime\src\libraries\Syste m.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs(572,32): warning CA1859: Change type of variable 'handler' from 'System.Net.Http.HttpMessageHandler' to 'System.Net.Http.HttpMessageHandlerStage?' for improved performance [D:\dotnet\runt ime\src\libraries\System.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Http\src\System\Net\Http\Headers\MediaTypeHeaderParser.cs(37,45): warning CA1859: Change return type of method 'CreateMediaTypeWithQuality' from 'System.Net.Http.Headers.MediaTypeHeaderValue' to 'System.Net.Http.Headers.MediaTypeWithQualityHeaderValue' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Http\src\System.Net.Http.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Sockets\src\System\Net\Sockets\TCPClient.cs(259,34): warning CA1859: Change type of variable 'dataStream' from 'System.IDisposable?' to 'System.Net.Sockets.NetworkStream?' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Sockets\src\ System.Net.Sockets.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.NameResolution\src\System\Net\Dns.cs(715,34): warning CA1859: Change return type of method 'CreateException' from 'System.Exception' to 'System.Net.Sockets.SocketException' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.NameResolut ion\src\System.Net.NameResolution.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Transactions.Local\src\System\Transactions\TransactionState.cs(1496,45): warning CA1859: Change return type of method 'CreateTransactionAbortedException' from 'System.Transactions.TransactionException' to 'System.Transactions.TransactionAbortedException' fo r improved performance [D:\dotnet\runtime\src\libraries\System.Transactions.Local\src\System.Transactions.Local.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Transactions.Local\src\System\Transactions\TransactionState.cs(2013,27): warning CA1859: Change type of variable 'serializableTx' from 'System.Runtime.Serialization.ISerializable' to 'System.Transactions.Oletx.OletxTransaction' for improved performance [D:\ dotnet\runtime\src\libraries\System.Transactions.Local\src\System.Transactions.Local.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Requests\src\System\Net\FileWebRequest.cs(17,30): warning CA1859: Change type of field '_response' from 'System.Net.WebResponse?' to 'System.Net.FileWebResponse' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Requests\src\System.Ne t.Requests.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Requests\src\System\Net\FileWebRequest.cs(113,34): warning CA1859: Change return type of method 'CreateRequestAbortedException' from 'System.Exception' to 'System.Net.WebException' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Req uests\src\System.Net.Requests.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Requests\src\System\Net\FileWebRequest.cs(144,24): warning CA1859: Change return type of method 'CreateWriteStream' from 'System.IO.Stream' to 'System.Net.WebFileStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Requests\src\S ystem.Net.Requests.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Principal.Windows\src\System\Security\Principal\WindowsPrincipal.cs(183,35): warning CA1859: Change return type of method 'GetDefaultInstance' from 'System.Security.Principal.IPrincipal' to 'System.Security.Principal.WindowsPrincipal' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Principal.Windows\src\System.Security.Principal.Windows.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\Common\src\Interop\Windows\BCrypt\Cng.cs(115,34): warning CA1859: Change return type of method 'CreateCryptographicException' from 'System.Exception' to 'System.Security.Cryptography.CryptographicException' for improved performance [D:\dotnet\runtime\src\libraries \System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\RSACryptoServiceProvider.Windows.cs(677,34): warning CA1859: Change return type of method 'PaddingModeNotSupported' from 'System.Exception' to 'System.Security.Cryptography.CryptographicException' for i mproved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\AesImplementation.cs(181,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.UniversalCryptoTransfor m' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\AesImplementation.Windows.cs(27,45): warning CA1859: Change return type of method 'CreateLiteCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Cryptography.BasicSymmet ricCipherLiteBCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\DesImplementation.Windows.cs(27,45): warning CA1859: Change return type of method 'CreateLiteCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Cryptography.BasicSymmet ricCipherLiteBCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\DesImplementation.cs(50,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.UniversalCryptoTransform ' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\ECDiffieHellman.Create.Cng.cs(20,29): warning CA1859: Change type of variable 'ecdh' from 'System.Security.Cryptography.ECDiffieHellman' to 'System.Security.Cryptography.ECDiffieHellmanCng' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\ECDiffieHellman.cs(136,34): warning CA1859: Change return type of method 'DerivedClassMustOverride' from 'System.Exception' to 'System.NotImplementedException' for improved performance [D:\dotnet\runtim e\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\RC2CryptoServiceProvider.Windows.cs(81,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.Universal CryptoTransform' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\DSA.cs(908,34): warning CA1859: Change return type of method 'DerivedClassMustOverride' from 'System.Exception' to 'System.NotImplementedException' for improved performance [D:\dotnet\runtime\src\librar ies\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\DSA.Create.Windows.cs(8,28): warning CA1859: Change return type of method 'CreateCore' from 'System.Security.Cryptography.DSA' to 'System.Security.Cryptography.DSAWrapper' for improved performance [D:\d otnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\ECDsa.Create.Windows.cs(36,19): warning CA1859: Change type of variable 'ec' from 'System.Security.Cryptography.ECDsa' to 'System.Security.Cryptography.ECDsaCng' for improved performance [D:\dotnet\runt ime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\DESCryptoServiceProvider.Windows.cs(63,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.Universal CryptoTransform' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngSymmetricAlgorithmCore.cs(139,38): warning CA1859: Change return type of method 'CreateLiteSymmetricCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Cryptography.B asicSymmetricCipherLiteBCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngSymmetricAlgorithmCore.cs(209,38): warning CA1859: Change return type of method 'CreatePersistedLiteSymmetricCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Crypt ography.BasicSymmetricCipherLiteNCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\CngSymmetricAlgorithmCore.cs(119,34): warning CA1859: Change return type of method 'CreateCryptoTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.Universal CryptoTransform' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\TripleDesImplementation.Windows.cs(27,45): warning CA1859: Change return type of method 'CreateLiteCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Cryptography.Basic SymmetricCipherLiteBCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\TripleDesImplementation.cs(50,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.UniversalCryptoTra nsform' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\RC2Implementation.Windows.cs(29,45): warning CA1859: Change return type of method 'CreateLiteCipher' from 'System.Security.Cryptography.ILiteSymmetricCipher' to 'System.Security.Cryptography.BasicSymmet ricCipherLiteBCrypt' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\RC2Implementation.cs(57,34): warning CA1859: Change return type of method 'CreateTransform' from 'System.Security.Cryptography.ICryptoTransform' to 'System.Security.Cryptography.UniversalCryptoTransform ' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\Rfc2898DeriveBytes.OneShot.cs(13,42): warning CA1859: Change type of field 's_throwingUtf8Encoding' from 'System.Text.Encoding' to 'System.Text.UTF8Encoding' for improved performance [D:\dotnet\runtime\ src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\RSA.cs(332,34): warning CA1859: Change return type of method 'DerivedClassMustOverride' from 'System.Exception' to 'System.NotImplementedException' for improved performance [D:\dotnet\runtime\src\librar ies\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\X509Pal.Windows.PublicKey.cs(59,29): warning CA1859: Change type of variable 'rsa' from 'System.Security.Cryptography.RSA' to 'System.Security.Cryptography.RSABCrypt' for improved perfo rmance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\X509Pal.Windows.cs(8,41): warning CA1859: Change return type of method 'BuildSingleton' from 'System.Security.Cryptography.X509Certificates.IX509Pal' to 'System.Security.Cryptography.X5 09Certificates.X509Pal' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs(553,41): warning CA1859: Change return type of method 'CopyWithPersistedCapiKey' from 'System.Security.Cryptography.X509Certificates.ICertificatePal ?' to 'System.Security.Cryptography.X509Certificates.CertificatePal?' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs(588,33): warning CA1859: Change return type of method 'CopyWithEphemeralKey' from 'System.Security.Cryptography.X509Certificates.ICertificatePal' to 'System.Security.Cryptography.X509Certificates.CertificatePal' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs(356,41): warning CA1859: Change return type of method 'CopyWithPersistedCngKey' from 'System.Security.Cryptography.X509Certificates.ICertificatePal? ' to 'System.Security.Cryptography.X509Certificates.CertificatePal?' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\CertificatePal.Windows.Import.cs(24,40): warning CA1859: Change return type of method 'FromBlobOrFile' from 'System.Security.Cryptography.X509Certificates.ICertificatePal' to 'System.Se curity.Cryptography.X509Certificates.CertificatePal' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System\Security\Cryptography\X509Certificates\FindPal.Windows.cs(25,41): warning CA1859: Change return type of method 'OpenPal' from 'System.Security.Cryptography.X509Certificates.IFindPal' to 'System.Security.Cryptography.X509Cert ificates.FindPal' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography\src\System.Security.Cryptography.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System\Net\Base64Stream.cs(36,39): warning CA1859: Change type of field '_encoder' from 'System.Net.Mime.IByteEncoder' to 'System.Net.Mime.Base64Encoder' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System.Net.M ail.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System\Net\Mime\BaseWriter.cs(102,24): warning CA1859: Change return type of method 'GetContentStream' from 'System.IO.Stream' to 'System.Net.ClosableStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System.N et.Mail.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System\Net\Mime\QEncodedStream.cs(42,39): warning CA1859: Change type of field '_encoder' from 'System.Net.Mime.IByteEncoder' to 'System.Net.Mime.QEncoder' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.Mail\src\System.Net .Mail.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(502,25): warning CA1859: Change return type of method 'ParseMethod' from 'MS.Internal.Xml.XPath.AstNode' to 'MS.Internal.Xml.XPath.Function' for improved performance [D:\dotnet\runtime\src\libraries\S ystem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(397,25): warning CA1859: Change return type of method 'ParseNodeTest' from 'MS.Internal.Xml.XPath.AstNode' to 'MS.Internal.Xml.XPath.Axis' for improved performance [D:\dotnet\runtime\src\libraries\Sys tem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(653,26): warning CA1859: Change return type of method 'ParseIdKeyPattern' from 'MS.Internal.Xml.XPath.AstNode?' to 'MS.Internal.Xml.XPath.Function?' for improved performance [D:\dotnet\runtime\src\lib raries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\QueryBuilder.cs(339,23): warning CA1859: Change return type of method 'ProcessVariable' from 'MS.Internal.Xml.XPath.Query' to 'MS.Internal.Xml.XPath.VariableQuery' for improved performance [D:\dotnet\runtime\src\lib raries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(309,28): warning CA1859: Change type of field '_textXmlReader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReaderImpl?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.X ml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4403,27): warning CA1859: Change return type of method 'ThrowXmlException' from 'System.Exception' to 'System.Xml.XmlException' for improved performance [D:\dotnet\runtime\src\libraries\System.Private. Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4415,27): warning CA1859: Change return type of method 'ThrowNotSupported' from 'System.Exception' to 'System.NotSupportedException' for improved performance [D:\dotnet\runtime\src\libraries\System.Pri vate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4409,27): warning CA1859: Change return type of method 'ThrowXmlException' from 'System.Exception' to 'System.Xml.XmlException' for improved performance [D:\dotnet\runtime\src\libraries\System.Private. Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSchemaExporter.cs(541,31): warning CA1859: Change return type of method 'ExportMembersMapping' from 'System.Xml.Schema.XmlSchemaType' to 'System.Xml.Schema.XmlSchemaComplexType' for improved performance [D:\dotnet \runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSchemaExporter.cs(1141,31): warning CA1859: Change return type of method 'ExportEnumMapping' from 'System.Xml.Schema.XmlSchemaType' to 'System.Xml.Schema.XmlSchemaSimpleType' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSerializationReader.cs(1551,25): warning CA1859: Change return type of method 'ReadArray' from 'object?' to 'System.Array?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\SoapReflectionImporter.cs(137,34): warning CA1859: Change return type of method 'ReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libr aries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XsdValidator.cs(572,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(612,34): warning CA1859: Change return type of method 'UnsupportedException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libr aries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(371,34): warning CA1859: Change return type of method 'CreateMemberReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runti me\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(366,34): warning CA1859: Change return type of method 'CreateTypeReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime \src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(607,34): warning CA1859: Change return type of method 'InvalidAttributeUseException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\ src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(361,34): warning CA1859: Change return type of method 'CreateReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src \libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XmlValueConverter.cs(3125,31): warning CA1859: Change return type of method 'CreateInvalidClrMappingException' from 'System.Exception' to 'System.InvalidCastException' for improved performance [D:\dotnet\runtime\src\librari es\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReader.cs(1189,52): warning CA1859: Change type of parameter 'xtw' from 'System.Xml.XmlWriter' to 'System.Xml.XmlTextWriter' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.X ml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(398,22): warning CA1859: Change return type of method 'FinishReadElementContentAsXxxAsync' from 'System.Threading.Tasks.Task' to 'System.Threading.Tasks.Task' for improved performance [D:\dotnet\runtim e\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWellFormedWriter.cs(2075,34): warning CA1859: Change return type of method 'InvalidCharsException' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System.Priv ate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Dom\DocumentSchemaValidator.cs(476,25): warning CA1859: Change return type of method 'GetNodeValue' from 'object?' to 'string?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.cs proj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Dom\XmlLoader.cs(928,34): warning CA1859: Change return type of method 'CreateInnerXmlReader' from 'System.Xml.XmlReader' to 'System.Xml.XmlTextReaderImpl' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.X ml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XdrValidator.cs(340,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XdrBuilder.cs(520,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Pri vate.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(942,22): warning CA1859: Change return type of method 'InitTextReaderInputAsync' from 'System.Threading.Tasks.Task' to 'System.Threading.Tasks.Task' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(45,27): warning CA1859: Change type of field 'scope' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\src\ libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(44,27): warning CA1859: Change type of field 'parents' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\sr c\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(43,27): warning CA1859: Change type of field 'allNodes' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1989,27): warning CA1859: Change return type of method 'CreateReader' from 'System.Xml.XmlReader' to 'System.Xml.XPath.XPathNavigatorReader' for improved performance [D:\dotnet\runtime\src\libraries\System. Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1790,40): warning CA1859: Change return type of method 'CompileMatchPattern' from 'System.Xml.XPath.XPathExpression' to 'MS.Internal.Xml.XPath.CompiledXpathExpr' for improved performance [D:\dotnet\runtime\ src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1994,27): warning CA1859: Change return type of method 'CreateContextReader' from 'System.Xml.XmlReader' to 'System.Xml.XmlTextReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Privat e.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\Xslt\XsltLoader.cs(41,103): warning CA1859: Change type of parameter 'origResolver' from 'System.Xml.XmlResolver?' to 'System.Xml.XmlUrlResolver' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src \System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1381,25): warning CA1859: Change return type of method 'CreateAggregator' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\Syste m.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1480,25): warning CA1859: Change return type of method 'ArithmeticOp' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilBinary' for improved performance [D:\dotnet\runtime\src\libraries\System.P rivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1273,25): warning CA1859: Change return type of method 'CreateSetIterator' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilBinary' for improved performance [D:\dotnet\runtime\src\libraries\Sys tem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(3101,25): warning CA1859: Change return type of method 'VisitNodeProperty' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\Syst em.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(2919,25): warning CA1859: Change return type of method 'VisitTextCtor' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\System.P rivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaCollectionCompiler.cs(1126,35): warning CA1859: Change return type of method 'CanonicalizeGroupRef' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaGroupBase' for improved performance [D:\dot net\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs(5623,67): warning CA1859: Change type of parameter 'globals' from 'System.Collections.Generic.IList' to 'System.Xml.Xsl.Qil.QilList' for improved performance [D:\dotne t\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(187,39): warning CA1859: Change return type of method 'GetExtensionMethod' from 'System.Xml.Xsl.IXsltContextFunction?' to 'System.Xml.Xsl.XsltOld.XsltCompileContext.FuncExtension?' for improved pe rformance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(494,35): warning CA1859: Change return type of method 'Current' from 'System.Xml.XPath.XPathNodeIterator' to 'MS.Internal.Xml.XPath.XPathSingletonIterator' for improved performance [D:\dotnet\runt ime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3677,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3622,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3510,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3566,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3422,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3366,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3309,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3245,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(1767,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\Xslt\QilGenerator.cs(1519,26): warning CA1859: Change return type of method 'CompileSorts' from 'System.Xml.Xsl.Qil.QilNode?' to 'System.Xml.Xsl.Qil.QilList?' for improved performance [D:\dotnet\runtime\src\libraries\System.Pr ivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaSetCompiler.cs(1333,35): warning CA1859: Change return type of method 'CanonicalizeAll' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaAll' for improved performance [D:\dotnet\runtime\src\li braries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaSetCompiler.cs(1262,35): warning CA1859: Change return type of method 'CanonicalizeGroupRef' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaGroupBase' for improved performance [D:\dotnet\run time\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\ContentValidator.cs(1249,26): warning CA1859: Change type of variable 'contentRoot' from 'System.Xml.Schema.InteriorNode' to 'System.Xml.Schema.SequenceNode' for improved performance [D:\dotnet\runtime\src\libraries\System. Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Collections.Specialized\src\System\Collections\Specialized\StringCollection.cs(238,57): warning CA1859: Change type of field '_temp' from 'System.Collections.IEnumerable' to 'System.Collections.Specialized.StringCollection' for improved performance [D:\dotn et\runtime\src\libraries\System.Collections.Specialized\src\System.Collections.Specialized.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\System\ComponentModel\DataAnnotations\Validator.cs(463,53): warning CA1859: Change return type of method 'GetObjectPropertyValidationErrors' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\System.ComponentModel.Annotations.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\System\ComponentModel\DataAnnotations\Validator.cs(518,78): warning CA1859: Change return type of method 'GetPropertyValues' from 'System.Collections.Generic.ICollection>' to 'System.Collections.Generic.List>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\Syst em.ComponentModel.Annotations.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\System\ComponentModel\DataAnnotations\UIHintAttribute.cs(164,46): warning CA1859: Change type of variable 'controlParameters' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictio nary' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Annotations\src\System.ComponentModel.Annotations.csproj] D:\dotnet\runtime\src\libraries\System.Diagnostics.TextWriterTraceListener\src\System\Diagnostics\TextWriterTraceListener.cs(199,66): warning CA1859: Change type of parameter 'encoding' from 'System.Text.Encoding' to 'System.Text.UTF8Encoding' for improved performance [D:\dotnet\runtime\src\libr aries\System.Diagnostics.TextWriterTraceListener\src\System.Diagnostics.TextWriterTraceListener.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\CodeGenerator.cs(1113,78): warning CA1859: Change type of parameter 'methodInfo' from 'System.Reflection.MethodBase' to 'System.Reflection.MethodInfo' for improved performance [D:\dotnet\run time\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlWriterDelegator.cs(272,34): warning CA1859: Change return type of method 'CreateInvalidPrimitiveTypeException' from 'System.Exception' to 'System.Runtime.Serialization.InvalidDataContract Exception' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\CollectionDataContract.cs(910,31): warning CA1859: Change return type of method 'GetSharedTypeContract' from 'System.Runtime.Serialization.DataContracts.DataContract?' to 'System.Runtime.Ser ialization.DataContracts.ClassDataContract?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlReaderDelegator.cs(209,34): warning CA1859: Change return type of method 'CreateInvalidPrimitiveTypeException' from 'System.Exception' to 'System.Runtime.Serialization.InvalidDataContract Exception' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs(951,34): warning CA1859: Change type of variable 'xmlAttributes' from 'System.Collections.Generic.IList?' to 'System.Collections.Ge neric.List?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs(905,29): warning CA1859: Change type of variable 'xmlChildNodes' from 'System.Collections.Generic.IList?' to 'System.Collections.Generic .List?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs(904,34): warning CA1859: Change type of variable 'xmlAttributes' from 'System.Collections.Generic.IList?' to 'System.Collections.Ge neric.List?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\XmlObjectSerializerReadContext.cs(893,27): warning CA1859: Change return type of method 'ReadUnknownXmlData' from 'System.Runtime.Serialization.IDataNode' to 'System.Runtime.Serialization.Xm lDataNode' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Xml\XmlBaseReader.cs(3123,43): warning CA1859: Change type of field '_nameTable' from 'System.Xml.XmlNameTable' to 'System.Xml.NameTable' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.D ataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Xml\XmlBaseReader.cs(37,31): warning CA1859: Change type of field '_nameTable' from 'System.Xml.XmlNameTable?' to 'System.Xml.XmlBaseReader.QuotaNameTable?' for improved performance [D:\dotnet\runtime\src\librari es\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\Json\JsonEncodingStreamWrapper.cs(31,24): warning CA1859: Change type of field '_stream' from 'System.IO.Stream' to 'System.IO.BufferedStream?' for improved performance [D:\dotnet\runtime\sr c\libraries\System.Private.DataContractSerialization\src\System.Private.DataContractSerialization.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.TypeConverter\src\System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs(55,24): warning CA1859: Change type of variable 'formatter' from 'System.Runtime.Serialization.IFormatter' to 'System.Runtime.Serialization.Formatters.Binary .BinaryFormatter' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.TypeConverter\src\System\ComponentModel\Design\DesigntimeLicenseContextSerializer.cs(138,28): warning CA1859: Change type of variable 'formatter' from 'System.Runtime.Serialization.IFormatter' to 'System.Runtime.Serialization.Formatters.Binar y.BinaryFormatter' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj] D:\dotnet\runtime\src\libraries\System.ComponentModel.TypeConverter\src\System\ComponentModel\TypeDescriptor.cs(2426,23): warning CA1859: Change type of variable 'assocTable' from 'System.Collections.Hashtable' to 'System.ComponentModel.WeakHashtable' for improved performance [D:\dotnet\runtime\ src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj] D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System\Linq\Parallel\Utils\Lookup.cs(39,71): warning CA1859: Change type of field '_dict' from 'System.Collections.Generic.IDictionary>' to 'System.Collections.Generic.Dictionary>' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System.Linq.Parallel.csproj] D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System\Linq\Parallel\QueryOperators\Binary\GroupJoinQueryOperator.cs(163,61): warning CA1859: Change return type of method 'CreateComparer' from 'System.Collections.Generic.IComparer>' to 'Sys tem.Linq.Parallel.PairComparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System.Linq.Parallel.csproj] D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System\Linq\ParallelEnumerable.cs(4369,145): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performan ce [D:\dotnet\runtime\src\libraries\System.Linq.Parallel\src\System.Linq.Parallel.csproj] D:\dotnet\runtime\src\libraries\System.Security.Claims\src\System\Security\Claims\GenericPrincipal.cs(86,35): warning CA1859: Change return type of method 'GetDefaultInstance' from 'System.Security.Principal.IPrincipal' to 'System.Security.Principal.GenericPrincipal' for improved performance [D: \dotnet\runtime\src\libraries\System.Security.Claims\src\System.Security.Claims.csproj] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(397,25): warning CA1859: Change return type of method 'ParseNodeTest' from 'MS.Internal.Xml.XPath.AstNode' to 'MS.Internal.Xml.XPath.Axis' for improved performance [D:\dotnet\runtime\src\libraries\Sys tem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(653,26): warning CA1859: Change return type of method 'ParseIdKeyPattern' from 'MS.Internal.Xml.XPath.AstNode?' to 'MS.Internal.Xml.XPath.Function?' for improved performance [D:\dotnet\runtime\src\lib raries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\XPathParser.cs(502,25): warning CA1859: Change return type of method 'ParseMethod' from 'MS.Internal.Xml.XPath.AstNode' to 'MS.Internal.Xml.XPath.Function' for improved performance [D:\dotnet\runtime\src\libraries\S ystem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\Internal\QueryBuilder.cs(339,23): warning CA1859: Change return type of method 'ProcessVariable' from 'MS.Internal.Xml.XPath.Query' to 'MS.Internal.Xml.XPath.VariableQuery' for improved performance [D:\dotnet\runtime\src\lib raries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(309,28): warning CA1859: Change type of field '_textXmlReader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReaderImpl?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.X ml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4403,27): warning CA1859: Change return type of method 'ThrowXmlException' from 'System.Exception' to 'System.Xml.XmlException' for improved performance [D:\dotnet\runtime\src\libraries\System.Private. Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4409,27): warning CA1859: Change return type of method 'ThrowXmlException' from 'System.Exception' to 'System.Xml.XmlException' for improved performance [D:\dotnet\runtime\src\libraries\System.Private. Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\BinaryXml\XmlBinaryReader.cs(4415,27): warning CA1859: Change return type of method 'ThrowNotSupported' from 'System.Exception' to 'System.NotSupportedException' for improved performance [D:\dotnet\runtime\src\libraries\System.Pri vate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XsdValidator.cs(572,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XmlValueConverter.cs(3125,31): warning CA1859: Change return type of method 'CreateInvalidClrMappingException' from 'System.Exception' to 'System.InvalidCastException' for improved performance [D:\dotnet\runtime\src\librari es\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\SoapReflectionImporter.cs(137,34): warning CA1859: Change return type of method 'ReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libr aries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSchemaExporter.cs(1141,31): warning CA1859: Change return type of method 'ExportEnumMapping' from 'System.Xml.Schema.XmlSchemaType' to 'System.Xml.Schema.XmlSchemaSimpleType' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSchemaExporter.cs(541,31): warning CA1859: Change return type of method 'ExportMembersMapping' from 'System.Xml.Schema.XmlSchemaType' to 'System.Xml.Schema.XmlSchemaComplexType' for improved performance [D:\dotnet \runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(366,34): warning CA1859: Change return type of method 'CreateTypeReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime \src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(371,34): warning CA1859: Change return type of method 'CreateMemberReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runti me\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(612,34): warning CA1859: Change return type of method 'UnsupportedException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libr aries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(607,34): warning CA1859: Change return type of method 'InvalidAttributeUseException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\ src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlReflectionImporter.cs(361,34): warning CA1859: Change return type of method 'CreateReflectionException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src \libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Serialization\XmlSerializationReader.cs(1551,25): warning CA1859: Change return type of method 'ReadArray' from 'object?' to 'System.Array?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XdrValidator.cs(340,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.P rivate.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\XdrBuilder.cs(520,24): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader?' to 'System.Xml.XmlTextReader?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Pri vate.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReader.cs(1189,52): warning CA1859: Change type of parameter 'xtw' from 'System.Xml.XmlWriter' to 'System.Xml.XmlTextWriter' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.X ml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlReaderAsync.cs(398,22): warning CA1859: Change return type of method 'FinishReadElementContentAsXxxAsync' from 'System.Threading.Tasks.Task' to 'System.Threading.Tasks.Task' for improved performance [D:\dotnet\runtim e\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaCollectionCompiler.cs(1126,35): warning CA1859: Change return type of method 'CanonicalizeGroupRef' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaGroupBase' for improved performance [D:\dot net\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlWellFormedWriter.cs(2075,34): warning CA1859: Change return type of method 'InvalidCharsException' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System.Priv ate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3677,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3622,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3566,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3510,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3422,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3366,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3309,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(3245,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Dom\DocumentSchemaValidator.cs(476,25): warning CA1859: Change return type of method 'GetNodeValue' from 'object?' to 'string?' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.cs proj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\DataTypeImplementation.cs(1767,47): warning CA1859: Change type of field 's_numeric10FacetsChecker' from 'System.Xml.Schema.FacetsChecker' to 'System.Xml.Schema.Numeric10FacetsChecker' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Dom\XmlLoader.cs(928,34): warning CA1859: Change return type of method 'CreateInnerXmlReader' from 'System.Xml.XmlReader' to 'System.Xml.XmlTextReaderImpl' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.X ml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\ContentValidator.cs(1249,26): warning CA1859: Change type of variable 'contentRoot' from 'System.Xml.Schema.InteriorNode' to 'System.Xml.Schema.SequenceNode' for improved performance [D:\dotnet\runtime\src\libraries\System. Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1989,27): warning CA1859: Change return type of method 'CreateReader' from 'System.Xml.XmlReader' to 'System.Xml.XPath.XPathNavigatorReader' for improved performance [D:\dotnet\runtime\src\libraries\System. Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1994,27): warning CA1859: Change return type of method 'CreateContextReader' from 'System.Xml.XmlReader' to 'System.Xml.XmlTextReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Privat e.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\XPath\XPathNavigator.cs(1790,40): warning CA1859: Change return type of method 'CompileMatchPattern' from 'System.Xml.XPath.XPathExpression' to 'MS.Internal.Xml.XPath.CompiledXpathExpr' for improved performance [D:\dotnet\runtime\ src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Core\XmlTextReaderImplAsync.cs(942,22): warning CA1859: Change return type of method 'InitTextReaderInputAsync' from 'System.Threading.Tasks.Task' to 'System.Threading.Tasks.Task' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\Xslt\XsltLoader.cs(41,103): warning CA1859: Change type of parameter 'origResolver' from 'System.Xml.XmlResolver?' to 'System.Xml.XmlUrlResolver' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src \System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaSetCompiler.cs(1333,35): warning CA1859: Change return type of method 'CanonicalizeAll' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaAll' for improved performance [D:\dotnet\runtime\src\li braries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Schema\SchemaSetCompiler.cs(1262,35): warning CA1859: Change return type of method 'CanonicalizeGroupRef' from 'System.Xml.Schema.XmlSchemaParticle' to 'System.Xml.Schema.XmlSchemaGroupBase' for improved performance [D:\dotnet\run time\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1273,25): warning CA1859: Change return type of method 'CreateSetIterator' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilBinary' for improved performance [D:\dotnet\runtime\src\libraries\Sys tem.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1480,25): warning CA1859: Change return type of method 'ArithmeticOp' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilBinary' for improved performance [D:\dotnet\runtime\src\libraries\System.P rivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(3101,25): warning CA1859: Change return type of method 'VisitNodeProperty' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\Syst em.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(1381,25): warning CA1859: Change return type of method 'CreateAggregator' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\Syste m.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlIlVisitor.cs(2919,25): warning CA1859: Change return type of method 'VisitTextCtor' from 'System.Xml.Xsl.Qil.QilNode' to 'System.Xml.Xsl.Qil.QilUnary' for improved performance [D:\dotnet\runtime\src\libraries\System.P rivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\Xslt\QilGenerator.cs(1519,26): warning CA1859: Change return type of method 'CompileSorts' from 'System.Xml.Xsl.Qil.QilNode?' to 'System.Xml.Xsl.Qil.QilList?' for improved performance [D:\dotnet\runtime\src\libraries\System.Pr ivate.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(187,39): warning CA1859: Change return type of method 'GetExtensionMethod' from 'System.Xml.Xsl.IXsltContextFunction?' to 'System.Xml.Xsl.XsltOld.XsltCompileContext.FuncExtension?' for improved pe rformance [D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\XsltOld\XsltCompileContext.cs(494,35): warning CA1859: Change return type of method 'Current' from 'System.Xml.XPath.XPathNodeIterator' to 'MS.Internal.Xml.XPath.XPathSingletonIterator' for improved performance [D:\dotnet\runt ime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs(5623,67): warning CA1859: Change type of parameter 'globals' from 'System.Collections.Generic.IList' to 'System.Xml.Xsl.Qil.QilList' for improved performance [D:\dotne t\runtime\src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(45,27): warning CA1859: Change type of field 'scope' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\src\ libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(43,27): warning CA1859: Change type of field 'allNodes' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilValidationVisitor.cs(44,27): warning CA1859: Change type of field 'parents' from 'System.Collections.Hashtable' to 'System.Xml.Xsl.Qil.QilValidationVisitor.ObjectHashtable' for improved performance [D:\dotnet\runtime\sr c\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System\Xml\XPath\XNodeNavigator.cs(740,26): warning CA1859: Change type of variable 'nameTable' from 'System.Xml.XmlNameTable' to 'System.Xml.NameTable' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\s rc\System.Private.Xml.Linq.csproj] D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System\Xml\XPath\XNodeNavigator.cs(689,26): warning CA1859: Change type of variable 'li' from 'System.Xml.IXmlLineInfo' to 'System.Xml.Linq.XObject' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\S ystem.Private.Xml.Linq.csproj] D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System\Xml\Linq\XNodeReader.cs(1073,26): warning CA1859: Change type of variable 'nameTable' from 'System.Xml.XmlNameTable' to 'System.Xml.NameTable' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\ System.Private.Xml.Linq.csproj] D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System\Xml\Linq\XLinq.cs(254,19): warning CA1859: Change type of variable 'n' from 'System.Xml.Linq.XNode' to 'System.Xml.Linq.XElement' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System.Privat e.Xml.Linq.csproj] D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System\Xml\Linq\XLinq.cs(210,19): warning CA1859: Change type of variable 'n' from 'System.Xml.Linq.XNode' to 'System.Xml.Linq.XElement' for improved performance [D:\dotnet\runtime\src\libraries\System.Private.Xml.Linq\src\System.Privat e.Xml.Linq.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(30,34): warning CA1859: Change return type of method 'CreateArgumentNullException' from 'System.Exception' to 'System.ArgumentNullException' for improved performance [D:\dotnet\runtime\src\libraries\System.Memory\src\System. Memory.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(50,34): warning CA1859: Change return type of method 'CreateArgumentOutOfRangeException_PositionOutOfRange' from 'System.Exception' to 'System.ArgumentOutOfRangeException' for improved performance [D:\dotnet\runtime\src\libr aries\System.Memory\src\System.Memory.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(35,34): warning CA1859: Change return type of method 'CreateArgumentOutOfRangeException' from 'System.Exception' to 'System.ArgumentOutOfRangeException' for improved performance [D:\dotnet\runtime\src\libraries\System.Memory \src\System.Memory.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(45,34): warning CA1859: Change return type of method 'CreateInvalidOperationException_EndPositionNotReached' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libra ries\System.Memory\src\System.Memory.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(40,34): warning CA1859: Change return type of method 'CreateInvalidOperationException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\libraries\System.Memory\src \System.Memory.csproj] D:\dotnet\runtime\src\libraries\System.Memory\src\System\ThrowHelper.cs(55,34): warning CA1859: Change return type of method 'CreateArgumentOutOfRangeException_OffsetOutOfRange' from 'System.Exception' to 'System.ArgumentOutOfRangeException' for improved performance [D:\dotnet\runtime\src\librar ies\System.Memory\src\System.Memory.csproj] D:\dotnet\runtime\src\libraries\System.Threading\src\System\Threading\ReaderWriterLock.cs(1175,45): warning CA1859: Change return type of method 'GetInvalidLockCookieException' from 'System.ApplicationException' to 'System.Threading.ReaderWriterLock.ReaderWriterLockApplicationException' for impr oved performance [D:\dotnet\runtime\src\libraries\System.Threading\src\System.Threading.csproj] D:\dotnet\runtime\src\libraries\System.Threading\src\System\Threading\ReaderWriterLock.cs(1167,45): warning CA1859: Change return type of method 'GetNotOwnerException' from 'System.ApplicationException' to 'System.Threading.ReaderWriterLock.ReaderWriterLockApplicationException' for improved perf ormance [D:\dotnet\runtime\src\libraries\System.Threading\src\System.Threading.csproj] D:\dotnet\runtime\src\libraries\System.Threading\src\System\Threading\ReaderWriterLock.cs(1157,45): warning CA1859: Change return type of method 'GetTimeoutException' from 'System.ApplicationException' to 'System.Threading.ReaderWriterLock.ReaderWriterLockApplicationException' for improved perfo rmance [D:\dotnet\runtime\src\libraries\System.Threading\src\System.Threading.csproj] D:\dotnet\runtime\src\libraries\System.Collections.Concurrent\src\System\Collections\Concurrent\PartitionerStatic.cs(507,58): warning CA1859: Change type of variable 'partitionEnumerable' from 'System.Collections.Generic.IEnumerable>' to 'Sy stem.Collections.Concurrent.Partitioner.DynamicPartitionerForIEnumerable.InternalPartitionEnumerable' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Concurrent\src\System.Collections.Concurrent.csproj] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Linq\ImmutableArrayExtensions.cs(188,157): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Linq\ImmutableArrayExtensions.cs(156,160): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableArray_1.Builder.cs(888,93): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableArray_1.Builder.cs(791,89): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableArray_1.cs(801,75): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\ dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableArray_1.cs(241,89): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for i mproved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableArray_1.cs(156,85): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for i mproved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableList_1.Node.cs(786,90): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' f or improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableList_1.Node.cs(635,83): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System\Collections\Immutable\ImmutableList_1.Node.cs(744,86): warning CA1859: Change type of parameter 'equalityComparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' f or improved performance [D:\dotnet\runtime\src\libraries\System.Collections.Immutable\src\System.Collections.Immutable.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Diagnostics.TraceSource\src\System\Diagnostics\CorrelationManager.cs(15,32): warning CA1859: Change type of field '_stackWrapper' from 'System.Collections.Stack' to 'System.Diagnostics.CorrelationManager.AsyncLocalStackWrapper' for improved performance [D:\ dotnet\runtime\src\libraries\System.Diagnostics.TraceSource\src\System.Diagnostics.TraceSource.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Xml\XmlDataDocument.cs(1572,32): warning CA1859: Change type of variable 'newElem' from 'System.Xml.XmlElement' to 'System.Xml.XmlBoundElement' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Common\src\System.Da ta.Common.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Xml\XmlDataDocument.cs(867,26): warning CA1859: Change return type of method 'GetRowInsertBeforeLocation' from 'System.Xml.XmlNode?' to 'System.Xml.XmlElement?' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Com mon\src\System.Data.Common.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Data\Common\StringStorage.cs(124,53): warning CA1859: Change type of parameter 'value' from 'object?' to 'string' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Common\src\System.Data.Common.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Data\SQLTypes\SqlXml.cs(177,31): warning CA1859: Change return type of method 'CreateMemoryStreamFromXmlReader' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Data. Common\src\System.Data.Common.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Data\Common\DBCommandBuilder.cs(650,32): warning CA1859: Change type of variable 'dataReader' from 'System.Data.IDataReader' to 'System.Data.Common.DbDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Co mmon\src\System.Data.Common.csproj] D:\dotnet\runtime\src\libraries\System.Data.Common\src\System\Data\Filter\ExpressionParser.cs(560,32): warning CA1859: Change return type of method 'ParseAggregateArgument' from 'System.Data.ExpressionNode' to 'System.Data.AggregateNode' for improved performance [D:\dotnet\runtime\src\libraries\ System.Data.Common\src\System.Data.Common.csproj] D:\dotnet\runtime\src\libraries\System.Formats.Asn1\src\System\Formats\Asn1\AsnCharacterStringEncodings.cs(422,42): warning CA1859: Change type of field 's_utf8Encoding' from 'System.Text.Encoding' to 'System.Text.UTF8Encoding' for improved performance [D:\dotnet\runtime\src\libraries\System.For mats.Asn1\src\System.Formats.Asn1.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Diagnostics.DiagnosticSource\src\System\Diagnostics\DiagnosticSourceEventSource.cs(1362,95): warning CA1859: Change type of parameter 'enumerableOfTType' from 'System.Type' to 'System.Reflection.TypeInfo' for improved performance [D:\dotnet\runtime\src\libr aries\System.Diagnostics.DiagnosticSource\src\System.Diagnostics.DiagnosticSource.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Diagnostics.DiagnosticSource\src\System\Diagnostics\DiagnosticListener.cs(429,29): warning CA1859: Change return type of method 'SubscribeInternal' from 'System.IDisposable' to 'System.Diagnostics.DiagnosticListener.DiagnosticSubscription' for improved perf ormance [D:\dotnet\runtime\src\libraries\System.Diagnostics.DiagnosticSource\src\System.Diagnostics.DiagnosticSource.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Grouping.SpeedOpt.cs(54,54): warning CA1859: Change type of variable 'lookup' from 'System.Linq.IIListProvider>' to 'System.Linq.Lookup' for improved performance [D:\dotnet\runtime\src \libraries\System.Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Grouping.SpeedOpt.cs(60,54): warning CA1859: Change type of variable 'lookup' from 'System.Linq.IIListProvider>' to 'System.Linq.Lookup' for improved performance [D:\dotnet\runtime\src \libraries\System.Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Grouping.SpeedOpt.cs(36,55): warning CA1859: Change type of variable 'lookup' from 'System.Linq.IIListProvider>' to 'System.Linq.Lookup' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Grouping.SpeedOpt.cs(42,55): warning CA1859: Change type of variable 'lookup' from 'System.Linq.IIListProvider>' to 'System.Linq.Lookup' for improved performance [D:\dotnet\runtime\s rc\libraries\System.Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Min.cs(396,137): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq \src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\SequenceEqual.cs(13,141): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IEqualityComparer?' to 'System.Collections.Generic.EqualityComparer' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Max.cs(312,99): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\dotnet\runtime\src\libraries\System .Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Max.cs(418,137): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq \src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq\src\System\Linq\Min.cs(290,99): warning CA1859: Change type of parameter 'comparer' from 'System.Collections.Generic.IComparer?' to 'System.Collections.Generic.Comparer' for improved performance [D:\dotnet\runtime\src\libraries\System .Linq\src\System.Linq.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Threading.Tasks.Dataflow\src\Blocks\BatchedJoinBlock.cs(540,26): warning CA1859: Change type of field '_messages' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Sy stem.Threading.Tasks.Dataflow\src\System.Threading.Tasks.Dataflow.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Net.WebClient\src\System\Net\WebClient.cs(999,41): warning CA1859: Change type of parameter 'readStream' from 'System.IO.Stream?' to 'System.IO.FileStream?' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.WebClient\src\System.Net.WebCli ent.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Net.WebClient\src\System\Net\WebClient.cs(938,41): warning CA1859: Change type of parameter 'readStream' from 'System.IO.Stream?' to 'System.IO.FileStream?' for improved performance [D:\dotnet\runtime\src\libraries\System.Net.WebClient\src\System.Net.WebCli ent.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Dynamic\DynamicObject.cs(439,59): warning CA1859: Change return type of method 'GetConvertedArgs' from 'System.Collections.ObjectModel.ReadOnlyCollection' to 'System.Runtime.CompilerServices.Tr ueReadOnlyCollection' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Dynamic\DynamicObject.cs(455,39): warning CA1859: Change return type of method 'ReferenceArgAssign' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performance [D:\dotnet\runtim e\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Interpreter\TypeOperations.cs(618,46): warning CA1859: Change return type of method 'MergeRuntimeVariables' from 'System.Runtime.CompilerServices.IRuntimeVariables' to 'System.Runtime.CompilerServices.RuntimeOps. MergedRuntimeVariables' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\BinaryExpression.cs(219,28): warning CA1859: Change return type of method 'ReduceIndex' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performance [D:\dotnet\r untime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\BinaryExpression.cs(158,28): warning CA1859: Change return type of method 'ReduceVariable' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression' for improved performance [D:\dotn et\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Interpreter\LightCompiler.cs(2202,30): warning CA1859: Change return type of method 'CompileArrayIndexAddress' from 'System.Linq.Expressions.Interpreter.ByRefUpdater' to 'System.Linq.Expressions.Interpreter.Array ByRefUpdater' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Interpreter\LightCompiler.cs(2356,30): warning CA1859: Change return type of method 'CompileMultiDimArrayAccess' from 'System.Linq.Expressions.Interpreter.ByRefUpdater' to 'System.Linq.Expressions.Interpreter.Ind exMethodByRefUpdater' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Compiler\StackSpiller.SpilledExpressionBlock.cs(18,35): warning CA1859: Change return type of method 'MakeBlock' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.Compiler.SpilledExpressionBlo ck' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Compiler\StackSpiller.SpilledExpressionBlock.cs(38,35): warning CA1859: Change return type of method 'MakeBlock' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.Compiler.SpilledExpressionBlo ck' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Compiler\StackSpiller.SpilledExpressionBlock.cs(28,35): warning CA1859: Change return type of method 'MakeBlock' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.Compiler.SpilledExpressionBlo ck' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\BinaryExpression.cs(629,41): warning CA1859: Change return type of method 'GetMethodBasedBinaryOperator' from 'System.Linq.Expressions.BinaryExpression' to 'System.Linq.Expressions.MethodBinaryExpression' for imp roved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\BlockExpression.cs(1027,40): warning CA1859: Change return type of method 'BlockCore' from 'System.Linq.Expressions.BlockExpression' to 'System.Linq.Expressions.ScopeWithType' for improved performance [D:\dotnet\ runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\BinaryExpression.cs(600,42): warning CA1859: Change return type of method 'GetUserDefinedBinaryOperator' from 'System.Linq.Expressions.BinaryExpression?' to 'System.Linq.Expressions.MethodBinaryExpression?' for i mproved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Compiler\DelegateHelpers.cs(110,29): warning CA1859: Change return type of method 'MakeNewCustomDelegate' from 'System.Type' to 'System.Reflection.TypeInfo' for improved performance [D:\dotnet\runtime\src\librari es\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\TypeBinaryExpression.cs(138,28): warning CA1859: Change return type of method 'ReduceConstantTypeEqual' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.ConstantExpression' for improved perfo rmance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\TypeBinaryExpression.cs(105,28): warning CA1859: Change return type of method 'ByValParameterTypeEqual' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression' for improved perform ance [D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\UnaryExpression.cs(224,28): warning CA1859: Change return type of method 'ReduceIndex' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performance [D:\dotnet\ru ntime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\MemberInitExpression.cs(69,35): warning CA1859: Change return type of method 'ReduceMemberInit' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BlockExpression' for improved performance [D:\ dotnet\runtime\src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(164,34): warning CA1859: Change return type of method 'AccessorsCannotHaveByRefArgs' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System .Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(618,34): warning CA1859: Change return type of method 'ArgumentTypeDoesNotMatchMember' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\Syst em.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(533,34): warning CA1859: Change return type of method 'ArgumentMustBeInteger' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.E xpressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(519,34): warning CA1859: Change return type of method 'ArgumentMustBeInstanceMember' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System .Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(357,34): warning CA1859: Change return type of method 'DuplicateVariable' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System.Linq.Expre ssions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(632,34): warning CA1859: Change return type of method 'ArgumentMemberNotDeclOnType' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System. Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(753,34): warning CA1859: Change return type of method 'MethodNotPropertyAccessor' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\System.Li nq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(1250,34): warning CA1859: Change return type of method 'TypeContainsGenericParameters' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src\libraries\Syst em.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\Error.cs(504,34): warning CA1859: Change return type of method 'ArgumentMustBeFieldInfoOrPropertyInfoOrMethod' from 'System.Exception' to 'System.ArgumentException' for improved performance [D:\dotnet\runtime\src \libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Metadata\SourceGenJsonTypeInfoOfT.cs(87,38): warning CA1859: Change return type of method 'GetConverter' from 'System.Text.Json.Serialization.JsonConverter' to 'System.Text.Json.Serialization.Converters.JsonMetad ataServicesConverter' for improved performance [D:\dotnet\runtime\src\libraries\System.Text.Json\src\System.Text.Json.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Metadata\JsonMetadataServices.Collections.cs(401,50): warning CA1859: Change return type of method 'CreateStackOrQueueInfo' from 'System.Text.Json.Serialization.Metadata.JsonTypeInfo' to 'System.Text .Json.Serialization.Metadata.SourceGenJsonTypeInfo' for improved performance [D:\dotnet\runtime\src\libraries\System.Text.Json\src\System.Text.Json.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Matcher.cs(99,42): warning CA1859: Change type of field '_includePatterns' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Microsoft.Extensions.FileSystemGlobbing.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Matcher.cs(100,42): warning CA1859: Change type of field '_excludePatterns' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Microsoft.Extensions.FileSystemGlobbing.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Internal\Patterns\PatternBuilder.cs(45,41): warning CA1859: Change type of variable 'segmentsPatternContains' from 'System.Collections.Generic.IList>?' to 'System.Collections.Generic.List>?' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Microsoft.Extensions.FileSystem Globbing.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Internal\Patterns\PatternBuilder.cs(46,34): warning CA1859: Change type of variable 'segmentsPatternEndsWith' from 'System.Collections.Generic.IList?' to 'Sy stem.Collections.Generic.List?' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.FileSystemGlobbing\src\Microsoft.Extensions.FileSystemGlobbing.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ActivatorUtilities.cs(225,35): warning CA1859: Change return type of method 'BuildFactoryExpression' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.NewExpression' for improved perform ance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\Utf8JsonReaderExtensions.cs(135,34): warning CA1859: Change return type of method 'CreateUnexpectedException' from 'System.Exception' to 'System.FormatException' for improved performance [D:\dotnet\runtime\src\libraries\Mic rosoft.Extensions.DependencyModel\src\Microsoft.Extensions.DependencyModel.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\CompilationLibrary.cs(74,37): warning CA1859: Change return type of method 'ResolveReferencePaths' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\Microsoft.Extensions.DependencyModel.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\DependencyContextJsonReader.cs(20,54): warning CA1859: Change type of field '_stringPool' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\Microsoft.Extensions.DependencyModel.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\DependencyContextJsonReader.cs(451,41): warning CA1859: Change return type of method 'ReadTargetLibraryDependencies' from 'System.Collections.Generic.IEnumerable' to 'System. Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyModel\src\Microsoft.Extensions.DependencyModel.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\XmlBuffer.cs(95,34): warning CA1859: Change return type of method 'CreateInvalidStateException' from 'System.Exception' to 'System.InvalidOperationException' for improved performance [D:\dotnet\runtime\src\li braries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\Syndication\XmlSyndicationContent.cs(101,67): warning CA1859: Change type of parameter 'dataContractSerializer' from 'System.Runtime.Serialization.XmlObjectSerializer' to 'System.Runtime.Serialization.DataCon tractSerializer' for improved performance [D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs(99,23): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader' to 'System.Xml.XmlDictionaryReader' for improved performance [D:\dotne t\runtime\src\libraries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\Syndication\SyndicationElementExtensionCollection.cs(208,30): warning CA1859: Change type of variable 'writer' from 'System.Xml.XmlWriter' to 'System.Xml.XmlDictionaryWriter' for improved performance [D:\dotn et\runtime\src\libraries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ServiceModel.Syndication\src\System\ServiceModel\Syndication\SyndicationElementExtension.cs(162,23): warning CA1859: Change type of variable 'reader' from 'System.Xml.XmlReader' to 'System.Xml.XmlDictionaryReader' for improved performance [D:\dotnet\runtime \src\libraries\System.ServiceModel.Syndication\src\System.ServiceModel.Syndication.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\AttributedModelServices.cs(120,42): warning CA1859: Change type of variable 'metadata' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary< string, object?>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(164,35): warning CA1859: Change return type of method 'CreateMetadataValueEqualsExpression' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MethodCa llExpression' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(104,35): warning CA1859: Change return type of method 'CreateTypeIdentityConstraint' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpressio n' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(136,35): warning CA1859: Change return type of method 'CreateMetadataOfTypeExpression' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MethodCallExp ression' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(84,35): warning CA1859: Change return type of method 'CreateCreationPolicyConstraint' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpressi on' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(117,35): warning CA1859: Change return type of method 'CreateMetadataContainsKeyExpression' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.MethodCa llExpression' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ConstraintServices.cs(56,35): warning CA1859: Change return type of method 'CreateContractConstraintBody' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.BinaryExpression ' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ReflectionModel\ImportingItem.cs(45,24): warning CA1859: Change return type of method 'CastExportsToCollectionImportType' from 'object' to 'System.Array' for improved performance [D:\dotnet\ru ntime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs(458,46): warning CA1859: Change return type of method 'TranslateExportMetadata' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\TypeCatalog.cs(316,69): warning CA1859: Change return type of method 'CreateIndex' from 'System.Collections.Generic.IDictionary>' to 'System.Collections.Generic.Dictionary>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Comp osition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs(255,47): warning CA1859: Change return type of method 'GetExportDefinitions' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=ne t8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs(417,47): warning CA1859: Change return type of method 'GetImportDefinitions' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=ne t8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\ApplicationCatalog.cs(113,34): warning CA1859: Change type of variable 'innerCatalog' from 'System.IDisposable?' to 'System.ComponentModel.Composition.Hosting.AggregateCatalog?' for im proved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\CatalogExportProvider.ScopeManager.cs(68,28): warning CA1859: Change return type of method 'CreateScopeExport' from 'System.ComponentModel.Composition.Primitives.Export' to 'System.Com ponentModel.Composition.Hosting.CatalogExportProvider.ScopeFactoryExport' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\CatalogExportProvider.cs(311,37): warning CA1859: Change return type of method 'InternalGetExportsCore' from 'System.Collections.Generic.IEnumerable' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs(735,38): warning CA1859: Change return type of method 'GetExportsCore' from 'System.Collections.Generic.IEnumerable>' to 'System.Col lections.ObjectModel.Collection>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs(711,32): warning CA1859: Change return type of method 'GetExportedValuesCore' from 'System.Collections.Generic.IEnumerable' to 'System.Collectio ns.ObjectModel.Collection' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs(794,41): warning CA1859: Change return type of method 'BuildImportDefinition' from 'System.ComponentModel.Composition.Primitives.ImportDefinition' to 'System.ComponentModel.Composition.Primitives.ContractBasedImportDefinition' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\ExportProvider.GetExportOverrides.cs(747,53): warning CA1859: Change return type of method 'GetExportsCore' from 'System.Collections.Generic.IEnumerable>' to 'System.Collections.ObjectModel.Collection>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System\ComponentModel\Composition\Hosting\CompositionServices.cs(187,42): warning CA1859: Change type of variable 'dictionary' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dicti onary' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition\src\System.ComponentModel.Composition.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System\Composition\Hosting\Core\UpdateResult.cs(17,57): warning CA1859: Change type of field '_providedDescriptors' from 'System.Collections.Generic.IList' to 'System.Collectio ns.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System.Composition.Hosting.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection\src\ServiceLookup\Expressions\ExpressionResolverBuilder.cs(195,28): warning CA1859: Change return type of method 'BuildScopedExpression' from 'System.Linq.Expressions.Expression' to 'System.Linq.Expressions.ConditionalExpre ssion' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection\src\Microsoft.Extensions.DependencyInjection.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs(15,73): warning CA1859: Change type of field '_updateResults' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System.Composition.Hostin g.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection\src\ServiceLookup\CallSiteFactory.cs(387,33): warning CA1859: Change return type of method 'CreateConstructorCallSite' from 'Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceCallSite' to 'Microsoft.Extensions.D ependencyInjection.ServiceLookup.ConstructorCallSite' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.DependencyInjection\src\Microsoft.Extensions.DependencyInjection.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System\Composition\Hosting\Core\ExportDescriptorRegistry.cs(13,79): warning CA1859: Change type of field '_partDefinitions' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.Hosting\src\System.Compositio n.Hosting.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition.Registration\src\System\ComponentModel\Composition\Registration\RegistrationBuilder.cs(101,61): warning CA1859: Change return type of method 'EvaluateThisTypeAgainstTheConvention' from 'System.Collections.Generic.IEnumerable>>' to 'System.Collections.Generic.List>>' for improved performance [D:\dotnet\runtime\src\libraries\System.ComponentModel.Composition.Registration\src\System.C omponentModel.Composition.Registration.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.IO.Pipelines\src\System\IO\Pipelines\ThrowHelper.cs(14,34): warning CA1859: Change return type of method 'CreateArgumentOutOfRangeException' from 'System.Exception' to 'System.ArgumentOutOfRangeException' for improved performance [D:\dotnet\runtime\src\libr aries\System.IO.Pipelines\src\System.IO.Pipelines.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.IO.Pipelines\src\System\IO\Pipelines\ThrowHelper.cs(19,34): warning CA1859: Change return type of method 'CreateArgumentNullException' from 'System.Exception' to 'System.ArgumentNullException' for improved performance [D:\dotnet\runtime\src\libraries\System .IO.Pipelines\src\System.IO.Pipelines.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\TypedParts\TypedPartExportDescriptorProvider.cs(16,90): warning CA1859: Change type of field '_discoveredParts' from 'System.Collections.Generic.IDictionary>' to 'System.Collections.Generic.Dictionary>' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System.Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\Hosting\ContainerConfiguration.cs(24,83): warning CA1859: Change type of field '_types' from 'System.Collections.Generic.IList, System.Composition .Convention.AttributedModelProvider>>' to 'System.Collections.Generic.List, System.Composition.Convention.AttributedModelProvider>>' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System .Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\Hosting\ContainerConfiguration.cs(23,58): warning CA1859: Change type of field '_addedSources' from 'System.Collections.Generic.IList' to 'System.Collect ions.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System.Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\TypedParts\ContractHelpers.cs(32,41): warning CA1859: Change type of variable 'importMetadata' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary?' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System.Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\TypedParts\Discovery\DiscoveredPart.cs(30,40): warning CA1859: Change type of field '_appliedArguments' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System.Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System\Composition\TypedParts\Discovery\DiscoveredPart.cs(24,56): warning CA1859: Change type of field '_exports' from 'System.Collections.Generic.ICollection' to 'System.C ollections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.TypedParts\src\System.Composition.TypedParts.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Binder\src\ConfigurationBinder.cs(691,19): warning CA1859: Change type of variable 'list' from 'System.Collections.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\Mic rosoft.Extensions.Configuration.Binder\src\Microsoft.Extensions.Configuration.Binder.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Binder\src\ConfigurationBinder.cs(976,58): warning CA1859: Change type of parameter 'property' from 'System.Reflection.MemberInfo' to 'System.Reflection.PropertyInfo' for improved performance [D:\dotnet\runtime\src\libraries\Micr osoft.Extensions.Configuration.Binder\src\Microsoft.Extensions.Configuration.Binder.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Composition.Convention\src\System\Composition\Convention\ConventionBuilder.cs(126,61): warning CA1859: Change return type of method 'EvaluateThisTypeInfoAgainstTheConvention' from 'System.Collections.Generic.IEnumerable>>' to 'System.Collections.Generic.List>>' for improved performance [D:\dotnet\runtime\src\libraries\System.Composition.Convention\src\System.Composition.Convention.csproj::TargetFramework=net 8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\Modules\Ecma\EcmaModule.cs(116,24): warning CA1859: Change return type of method 'GetModuleType' from 'System.Reflection.TypeLoading.RoType' to 'System.Reflection.TypeLoading.Ecma.EcmaDefiniti onType' for improved performance [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\General\Ecma\EcmaWrappedTypeProvider.cs(19,70): warning CA1859: Change type of field '_typeProvider' from 'System.Reflection.Metadata.ISignatureTypeProvider' to 'System.Reflection.TypeLoading.Ecma.EcmaModule' for improved performance [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\Methods\RoDefinitionMethod.DllImport.cs(14,38): warning CA1859: Change return type of method 'ComputeDllImportCustomAttributeDataIfAny' from 'System.Reflection.CustomAttributeData?' to 'System .Reflection.TypeLoading.RoPseudoCustomAttributeData?' for improved performance [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\Events\RoEvent.cs(59,29): warning CA1859: Change return type of method 'GetRoRaiseMethod' from 'System.Reflection.MethodInfo?' to 'System.Reflection.TypeLoading.RoMethod?' for improved perform ance [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\Events\RoEvent.cs(58,29): warning CA1859: Change return type of method 'GetRoRemoveMethod' from 'System.Reflection.MethodInfo?' to 'System.Reflection.TypeLoading.RoMethod?' for improved perfor mance [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System\Reflection\TypeLoading\Events\RoEvent.cs(57,29): warning CA1859: Change return type of method 'GetRoAddMethod' from 'System.Reflection.MethodInfo?' to 'System.Reflection.TypeLoading.RoMethod?' for improved performan ce [D:\dotnet\runtime\src\libraries\System.Reflection.MetadataLoadContext\src\System.Reflection.MetadataLoadContext.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Threading.RateLimiting\src\System\Threading\RateLimiting\TokenBucketRateLimiter.cs(218,32): warning CA1859: Change return type of method 'CreateFailedTokenLease' from 'System.Threading.RateLimiting.RateLimitLease' to 'System.Threading.RateLimiting.TokenBuck etRateLimiter.TokenBucketLease' for improved performance [D:\dotnet\runtime\src\libraries\System.Threading.RateLimiting\src\System.Threading.RateLimiting.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Threading.RateLimiting\src\System\Threading\RateLimiting\FixedWindowRateLimiter.cs(212,32): warning CA1859: Change return type of method 'CreateFailedWindowLease' from 'System.Threading.RateLimiting.RateLimitLease' to 'System.Threading.RateLimiting.FixedWin dowRateLimiter.FixedWindowLease' for improved performance [D:\dotnet\runtime\src\libraries\System.Threading.RateLimiting\src\System.Threading.RateLimiting.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\Internal\WriteFileContext.cs(206,20): warning CA1859: Change type of variable 'fileStream' from 'System.IO.Stream' to 'System.IO.FileStream?' for improved performance [D:\dotnet\runtime\src\librari es\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\Internal\ConfigSystem.cs(10,37): warning CA1859: Change type of field '_configRoot' from 'System.Configuration.Internal.IInternalConfigRoot' to 'System.Configuration.Internal.InternalConfigRoot' fo r improved performance [D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\Internal\ConfigSystem.cs(9,37): warning CA1859: Change type of field '_configHost' from 'System.Configuration.Internal.IInternalConfigHost' to 'System.Configuration.ImplicitMachineConfigHost' for i mproved performance [D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\ClientConfigurationSystem.cs(26,27): warning CA1859: Change type of variable 'configSystem' from 'System.Configuration.Internal.IConfigSystem' to 'System.Configuration.Internal.ConfigSystem' for im proved performance [D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\Configuration.cs(39,33): warning CA1859: Change type of variable 'implicitMachineConfigHost' from 'System.Configuration.Internal.IInternalConfigHost' to 'System.Configuration.ImplicitMachineConfigH ost' for improved performance [D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\LocalFileSettingsProvider.cs(436,25): warning CA1859: Change return type of method 'SerializeToXmlElement' from 'System.Xml.XmlNode' to 'System.Xml.XmlElement' for improved performance [D:\dotnet\r untime\src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Configuration.ConfigurationManager\src\System\Configuration\MgmtConfigurationRecord.cs(2151,27): warning CA1859: Change type of variable 'preambleStream' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\lib raries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\Internal\Cryptography\Pal\AnyOS\ManagedPal.Exceptions.cs(31,34): warning CA1859: Change return type of method 'CreateInvalidMessageTypeException' from 'System.Exception' to 'System.Security.Cryptography.CryptographicException' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\System.Security.Cryptography.Pkcs.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration\src\ConfigurationRoot.cs(17,45): warning CA1859: Change type of field '_changeTokenRegistrations' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved p erformance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration\src\Microsoft.Extensions.Configuration.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\EncryptedXml.cs(184,21): warning CA1859: Change type of variable 'inputStream' from 'System.IO.Stream?' to 'System.IO.MemoryStream?' for improved performance [D:\dotnet\runtime\src\libraries\Sys tem.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Xml\src\System\Security\Cryptography\Xml\SignedXml.cs(24,30): warning CA1859: Change type of field '_x509Enum' from 'System.Collections.IEnumerator?' to 'System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator' for imp roved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Xml\src\System.Security.Cryptography.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Logging.EventLog\src\EventLogSettings.cs(43,27): warning CA1859: Change return type of method 'CreateDefaultEventLog' from 'Microsoft.Extensions.Logging.EventLog.IEventLog' to 'Microsoft.Extensions.Logging.EventLog.WindowsEventLog' for improve d performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Logging.EventLog\src\Microsoft.Extensions.Logging.EventLog.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\System.Resources.Extensions\src\System\Resources\Extensions\PreserializedResourceWriter.cs(39,67): warning CA1859: Change type of field 's_primitiveTypes' from 'System.Collections.Generic.IReadOnlyDictionary' to 'System.Collections.Generic.Dic tionary' for improved performance [D:\dotnet\runtime\src\libraries\System.Resources.Extensions\src\System.Resources.Extensions.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Json\src\JsonConfigurationFileParser.cs(22,46): warning CA1859: Change return type of method 'ParseStream' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Json\src\Microsoft.Extensions.Configuration.Json.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Xml\src\XmlStreamConfigurationProvider.cs(248,53): warning CA1859: Change return type of method 'ProvideConfiguration' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Configuration.Xml\src\Microsoft.Extensions.Configuration.Xml.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.Extensions.Hosting\src\Internal\Host.cs(128,34): warning CA1859: Change type of variable 'exceptions' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\run time\src\libraries\Microsoft.Extensions.Hosting\src\Microsoft.Extensions.Hosting.csproj::TargetFramework=net8.0] D:\dotnet\runtime\src\libraries\Microsoft.NETCore.Platforms\src\GenerateRuntimeGraph.cs(295,93): warning CA1859: Change type of parameter 'externalRIDs' from 'System.Collections.Generic.IDictionary' to 'System.Collections.Generic.Dictionary' for improved performan ce [D:\dotnet\runtime\src\libraries\Microsoft.NETCore.Platforms\src\Microsoft.NETCore.Platforms.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\libraries\Microsoft.NETCore.Platforms\src\GenerateRuntimeGraph.cs(331,65): warning CA1859: Change return type of method 'GetCompatibilityMap' from 'System.Collections.Generic.IDictionary>' to 'System.Collections.Generic .Dictionary>' for improved performance [D:\dotnet\runtime\src\libraries\Microsoft.NETCore.Platforms\src\Microsoft.NETCore.Platforms.csproj::TargetFramework=net7.0] D:\dotnet\runtime\src\libraries\System.Management\src\System\Management\WMIGenerator.cs(67,28): warning CA1859: Change type of field 'tw' from 'System.IO.TextWriter' to 'System.IO.StreamWriter' for improved performance [D:\dotnet\runtime\src\libraries\System.Management\src\System.Management.cspr oj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Management\src\System\Management\WMIGenerator.cs(929,94): warning CA1859: Change type of parameter 'propValue' from 'object' to 'string' for improved performance [D:\dotnet\runtime\src\libraries\System.Management\src\System.Management.csproj::TargetFramewor k=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Management\src\System\Management\ManagementObjectCollection.cs(147,29): warning CA1859: Change type of variable 'enumCol' from 'System.Collections.IEnumerator' to 'System.Management.ManagementObjectCollection.ManagementObjectEnumerator' for improved perform ance [D:\dotnet\runtime\src\libraries\System.Management\src\System.Management.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Speech\src\Synthesis\Prompt.cs(57,47): warning CA1859: Change type of variable 'reader' from 'System.IO.TextReader' to 'System.IO.StreamReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Speech\src\System.Speech.csproj::TargetFramework =net8.0-windows] D:\dotnet\runtime\src\libraries\System.Speech\src\Internal\ResourceLoader.cs(80,31): warning CA1859: Change return type of method 'DownloadData' from 'System.IO.Stream' to 'System.IO.MemoryStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Speech\src\System.Speech.csproj::T argetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Speech\src\Result\RecognizedPhrase.cs(1026,21): warning CA1859: Change type of variable 'root' from 'System.Xml.XmlNode' to 'System.Xml.XmlElement' for improved performance [D:\dotnet\runtime\src\libraries\System.Speech\src\System.Speech.csproj::TargetFrame work=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Speech\src\Internal\ObjectToken\ObjectTokenCategory.cs(45,32): warning CA1859: Change type of variable 'objectTokenList' from 'System.Collections.Generic.IList' to 'System.Collections.Generic.List' for improved performance [D:\dotnet\runtime\src\libraries\System.Speech\src\System.Speech.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Speech\src\Internal\SrgsCompiler\SRGSCompiler.cs(103,31): warning CA1859: Change return type of method 'CompileStream' from 'object' to 'System.Speech.Internal.SrgsCompiler.CustomGrammar' for improved performance [D:\dotnet\runtime\src\libraries\System.Spee ch\src\System.Speech.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Drawing.Common\src\System\Drawing\ToolboxBitmapAttribute.cs(139,31): warning CA1859: Change return type of method 'GetIconFromStream' from 'System.Drawing.Image?' to 'System.Drawing.Bitmap?' for improved performance [D:\dotnet\runtime\src\libraries\System.D rawing.Common\src\System.Drawing.Common.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Drawing.Common\src\System\Drawing\ImageConverter.cs(110,39): warning CA1859: Change return type of method 'GetBitmapStream' from 'System.IO.Stream?' to 'System.IO.MemoryStream?' for improved performance [D:\dotnet\runtime\src\libraries\System.Drawing.Common \src\System.Drawing.Common.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Drawing.Common\src\System\Drawing\Image.cs(1006,87): warning CA1859: Change type of parameter 'dataStream' from 'System.IO.Stream?' to 'System.IO.FileStream' for improved performance [D:\dotnet\runtime\src\libraries\System.Drawing.Common\src\System.Drawing. Common.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Drawing.Common\src\System\Drawing\Printing\PreviewPrintController.cs(20,32): warning CA1859: Change type of field '_list' from 'System.Collections.IList' to 'System.Collections.ArrayList' for improved performance [D:\dotnet\runtime\src\libraries\System.Draw ing.Common\src\System.Drawing.Common.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcConnectionStringbuilder.cs(197,24): warning CA1859: Change return type of method 'GetAt' from 'object' to 'string' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System.Data.Odbc.csproj::Tar getFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcCommand.cs(847,32): warning CA1859: Change type of variable 'reader' from 'System.Data.IDataReader' to 'System.Data.Odbc.OdbcDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System .Data.Odbc.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcMetaDataFactory.cs(428,75): warning CA1859: Change type of parameter 'reader' from 'System.Data.IDataReader' to 'System.Data.Odbc.OdbcDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\s rc\System.Data.Odbc.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcMetaDataFactory.cs(452,86): warning CA1859: Change type of parameter 'reader' from 'System.Data.IDataReader' to 'System.Data.Odbc.OdbcDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\s rc\System.Data.Odbc.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcMetaDataFactory.cs(167,70): warning CA1859: Change type of parameter 'reader' from 'System.Data.IDataReader' to 'System.Data.Odbc.OdbcDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\s rc\System.Data.Odbc.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Data.Odbc\src\System\Data\Odbc\OdbcMetaDataFactory.cs(476,80): warning CA1859: Change type of parameter 'reader' from 'System.Data.IDataReader' to 'System.Data.Odbc.OdbcDataReader' for improved performance [D:\dotnet\runtime\src\libraries\System.Data.Odbc\s rc\System.Data.Odbc.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices\src\System\DirectoryServices\SearchResultCollection.cs(52,33): warning CA1859: Change type of variable 'enumerator' from 'System.Collections.IEnumerator' to 'System.DirectoryServices.SearchResultCollection.ResultsEnumerator' for improved p erformance [D:\dotnet\runtime\src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ActiveDirectorySchemaClass.cs(1085,29): warning CA1859: Change return type of method 'GetValuesFromCache' from 'System.Collections.ICollection' to 'System.Collections.ArrayList' for improved per formance [D:\dotnet\runtime\src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\SAM\SAMMembersSet.cs(593,27): warning CA1859: Change type of field '_foreignResultSet' from 'System.DirectoryServices.AccountManagement.ResultSet' to 'System.DirectoryService s.AccountManagement.BookmarkableResultSet?' for improved performance [D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs(575,27): warning CA1859: Change return type of method 'FindByDate' from 'System.DirectoryServices.AccountManagement.ResultSet' to 'System.DirectoryServices .AccountManagement.SAMQuerySet' for improved performance [D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx_LoadStore.cs(527,24): warning CA1859: Change return type of method 'FindNativeByNT4IdentRef' from 'object' to 'System.DirectoryServices.DirectoryEntry?' for i mproved performance [D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AD\ADStoreCtx.cs(1022,27): warning CA1859: Change return type of method 'FindByDate' from 'System.DirectoryServices.AccountManagement.ResultSet' to 'System.DirectoryServices. AccountManagement.ADEntriesSet' for improved performance [D:\dotnet\runtime\src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs(260,28): warning CA1859: Change return type of method 'TryExecuteDecryptAgree' from 'System.Exception?' to 'System.Security.Cryptography.CryptographicException?' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\System.Security.Cryptography.Pkcs.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs(165,35): warning CA1859: Change return type of method 'TryDecryptTrans' from 'System.Exception?' to 'System.Security.Cryptography.CryptographicException?' for im proved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\System.Security.Cryptography.Pkcs.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs(122,35): warning CA1859: Change return type of method 'TryGetKeySpecForCertificate' from 'System.Exception?' to 'System.Security.Cryptography.CryptographicExcept ion?' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\System.Security.Cryptography.Pkcs.csproj::TargetFramework=net8.0-windows] D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\Internal\Cryptography\Pal\AnyOS\ManagedPal.Exceptions.cs(31,34): warning CA1859: Change return type of method 'CreateInvalidMessageTypeException' from 'System.Exception' to 'System.Security.Cryptography.CryptographicException' for improved performance [D:\dotnet\runtime\src\libraries\System.Security.Cryptography.Pkcs\src\System.Security.Cryptography.Pkcs.csproj::TargetFramework=net8.0-windows] 544 Warning(s)