src\tasks\Common\FileCache.cs(36,41): warning CA2263: Prefer the generic overload 'System.Text.Json.JsonSerializer.Deserialize(string, System.Text.Json.JsonSerializerOptions?)' instead of 'System.Text.Json.JsonSerializer.Deserialize(string, System.Type, System.Text.Json.JsonSerializerOptions?)' [src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net8.0] src\tasks\AotCompilerTask\MonoAOTCompiler.cs(376,107): warning CA2263: Prefer the generic overload 'System.Enum.GetNames()' instead of 'System.Enum.GetNames(System.Type)' [src\tasks\AotCompilerTask\MonoAOTCompiler.csproj::TargetFramework=net8.0] src\tasks\Microsoft.NET.WebAssembly.Webcil\WasmModuleReader.cs(104,14): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\tasks\Microsoft.NET.WebAssembly.Webcil\Microsoft.NET.WebAssembly.Webcil.csproj::TargetFramework=net8.0] src\tasks\WasmAppBuilder\EmccCompile.cs(77,134): warning CA2263: Prefer the generic overload 'System.Enum.GetNames()' instead of 'System.Enum.GetNames(System.Type)' [src\tasks\WasmAppBuilder\WasmAppBuilder.csproj::TargetFramework=net8.0] src\tools\illink\src\ILLink.Shared\Annotations.cs(80,9): warning CA2263: Prefer the generic overload 'System.Enum.GetValues()' instead of 'System.Enum.GetValues(System.Type)' [src\tools\illink\src\linker\Mono.Linker.csproj] src\tools\illink\src\linker\Linker.Steps\OutputStep.cs(67,24): warning CA2263: Prefer the generic overload 'System.Enum.GetValues()' instead of 'System.Enum.GetValues(System.Type)' [src\tools\illink\src\linker\Mono.Linker.csproj] src\tools\illink\src\linker\Linker.Steps\OutputStep.cs(69,27): warning CA2263: Prefer the generic overload 'System.Enum.GetValues()' instead of 'System.Enum.GetValues(System.Type)' [src\tools\illink\src\linker\Mono.Linker.csproj] src\libraries\System.Private.CoreLib\src\System\ComponentModel\DefaultValueAttribute.cs(76,102): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\coreclr\System.Private.CoreLib\System.Private.CoreLib.csproj] src\coreclr\tools\aot\ILCompiler.MetadataTransform\Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs(906,37): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\coreclr\tools\aot\ILCompiler.MetadataTransform\ILCompiler.MetadataTransform.csproj] src\coreclr\tools\aot\ILCompiler.MetadataTransform\Internal\Metadata\NativeFormat\Writer\NativeMetadataWriter.cs(878,26): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\coreclr\tools\aot\ILCompiler.MetadataTransform\ILCompiler.MetadataTransform.csproj] src\coreclr\tools\Common\Compiler\InstructionSetSupport.cs(160,49): warning CA2263: Prefer the generic overload 'System.Enum.GetValues()' instead of 'System.Enum.GetValues(System.Type)' [src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] src\coreclr\tools\Common\Compiler\InstructionSetSupport.cs(171,49): warning CA2263: Prefer the generic overload 'System.Enum.GetValues()' instead of 'System.Enum.GetValues(System.Type)' [src\coreclr\tools\aot\ILCompiler.Compiler\ILCompiler.Compiler.csproj] src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs(5633,29): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\coreclr\nativeaot\System.Private.CoreLib\src\System.Private.CoreLib.csproj] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\IDispatchComObject.cs(342,43): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ExcepInfo.cs(32,26): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ExcepInfo.cs(32,63): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs(181,43): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComRuntimeHelpers.cs(202,46): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\ComInterop\ComTypeEnumDesc.cs(39,49): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.csproj::TargetFramework=net9.0-windows] src\libraries\Microsoft.CSharp\src\Microsoft\CSharp\RuntimeBinder\SymbolTable.cs(1442,21): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo, bool)' instead of 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)' [src\libraries\Microsoft.CSharp\src\Microsoft.CSharp.cs src\libraries\System.Net.HttpListener\src\System\Net\Windows\CookieExtensions.cs(56,78): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net9.0-windows] src\libraries\System.Net.HttpListener\src\System\Net\Windows\CookieExtensions.cs(17,60): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net9.0-windows] src\libraries\System.Net.HttpListener\src\System\Net\Windows\CookieExtensions.cs(26,51): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net9.0-windows] src\libraries\System.Net.HttpListener\src\System\Net\Windows\CookieExtensions.cs(44,63): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Net.HttpListener\src\System.Net.HttpListener.csproj::TargetFramework=net9.0-windows] src\libraries\System.Private.Xml\src\System\Xml\Xslt\XslCompiledTransform.cs(232,19): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0-windows] src\libraries\System.Private.Xml\src\System\Xml\Serialization\ReflectionXmlSerializationReader.cs(2125,62): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0-windows] src\libraries\System.Private.Xml\src\System\Xml\Serialization\ReflectionXmlSerializationReader.cs(655,146): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0-windows] src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilXmlWriter.cs(209,51): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0-windows] src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilXmlWriter.cs(280,47): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0-windows] src\libraries\System.ComponentModel.Annotations\src\System\ComponentModel\DataAnnotations\Schema\DatabaseGeneratedAttribute.cs(18,19): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.ComponentModel.Annotations\src\System.ComponentModel.Annotations.csproj] src\libraries\Common\src\System\Resources\ResourceWriter.cs(491,67): warning CA2263: Prefer the generic overload 'System.Enum.Parse(string)' instead of 'System.Enum.Parse(System.Type, string)' [src\libraries\System.Resources.Writer\src\System.Resources.Writer.csproj] src\libraries\System.Linq.Expressions\src\System\Runtime\CompilerServices\CallSite.cs(110,56): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj] src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\LambdaExpression.cs(647,146): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Linq.Expressions\src\System.Linq.Expressions.csproj] src\libraries\System.Linq.Expressions\src\System\Linq\Expressions\ExpressionStringBuilder.cs(516,17): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo)' instead of'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)' [src\libraries\System.Linq.Expressions\src\System.Linq.Express src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\DataContract.cs(1519,55): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module)' instead of 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Module, System.Type)' [src\libraries\System.Private.DataContractSerialization\ src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\DataContract.cs(1520,55): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly)'instead of 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly, System.Type)' [src\libraries\System.Private.DataContractSerializat src\libraries\System.Private.DataContractSerialization\src\System\Runtime\Serialization\DataContract.cs(2231,103): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly)' instead of 'System.Reflection.CustomAttributeExtensions.GetCustomAttributes(System.Reflection.Assembly, System.Type)' [src\libraries\System.Private.DataContractSerializa src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexWriter.cs(32,27): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Text.RegularExpressions\src\System.Text.RegularExpressions.csproj] src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexWriter.cs(33,27): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Text.RegularExpressions\src\System.Text.RegularExpressions.csproj] src\libraries\System.Private.Xml\src\System\Xml\Serialization\ReflectionXmlSerializationReader.cs(2125,62): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0] src\libraries\System.Private.Xml\src\System\Xml\Serialization\ReflectionXmlSerializationReader.cs(655,146): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0] src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilXmlWriter.cs(209,51): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0] src\libraries\System.Private.Xml\src\System\Xml\Xsl\QIL\QilXmlWriter.cs(280,47): warning CA2263: Prefer the generic overload 'System.Enum.GetName(TEnum)' instead of 'System.Enum.GetName(System.Type, object)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0] src\libraries\System.Private.Xml\src\System\Xml\Xslt\XslCompiledTransform.cs(232,19): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Private.Xml\src\System.Private.Xml.csproj::TargetFramework=net9.0] src\libraries\System.ComponentModel.TypeConverter\src\System\ComponentModel\BindingList.cs(317,50): warning CA2263: Prefer the generic overload 'System.Activator.CreateInstance()' instead of 'System.Activator.CreateInstance(System.Type)' [src\libraries\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj] src\libraries\System.Runtime.Serialization.Formatters\src\System\Runtime\Serialization\Formatters\Binary\BinaryObjectInfo.cs(712,29): warning CA2263: Prefer the generic overload 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo, bool)' instead of 'System.Reflection.CustomAttributeExtensions.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)' [src\libraries\Sys src\libraries\System.Text.Encodings.Web\src\System\Text\Encodings\Web\ThrowHelper.cs(25,26): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Text.Encodings.Web\src\System.Text.Encodings.Web.csproj::TargetFramework=net9.0] src\libraries\System.Diagnostics.DiagnosticSource\src\System\Diagnostics\DiagnosticSourceEventSource.cs(1424,78): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Diagnostics.DiagnosticSource\src\System.Diagnostics.DiagnosticSource.csproj::TargetFramework=net9.0] src\libraries\System.Diagnostics.DiagnosticSource\src\System\Diagnostics\DiagnosticSourceEventSource.cs(1405,72): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Diagnostics.DiagnosticSource\src\System.Diagnostics.DiagnosticSource.csproj::TargetFramework=net9.0] src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Metadata\ReflectionMemberAccessor.cs(130,62): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Text.Json\src\System.Text.Json.csproj::TargetFramework=net9.0] src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Metadata\ReflectionMemberAccessor.cs(139,80): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Text.Json\src\System.Text.Json.csproj::TargetFramework=net9.0] src\libraries\System.Text.Json\src\System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs(1065,25): warning CA2263: Prefer the generic overload 'System.Text.Json.ThrowHelper.ThrowInvalidOperationException_SerializationDuplicateTypeAttribute(System.Type)' instead of 'System.Text.Json.ThrowHelper.ThrowInvalidOperationException_SerializationDuplicateTypeAttribute(System.Type, System.Type)' [src\libraries\System. src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.cs(169,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddTransient(Microsoft.Extensions.DependencyIn jection.IServiceCollection, System.Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.cs(275,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddScoped(Microsoft.Extensions.DependencyInjectio n.IServiceCollection, System.Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.cs(415,30): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(TService)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.Singleton(System.Type, object)' [src\libraries\Microsoft.Extensions.DependencyInjectio n.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.cs(153,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceC ollection, System.Type, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.cs(295,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddScoped(Microsoft.Extensions.DependencyInjection.IServiceCollect ion, System.Type, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.cs(438,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceC ollection, System.Type, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs(89,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedTransient(Microsoft .Extensions.DependencyInjection.IServiceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs(205,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedScoped(Microsoft.Exte nsions.DependencyInjection.IServiceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.Keyed.cs(169,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extens ions.DependencyInjection.IServiceCollection, System.Type, object?, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.cs(381,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddSingleton(Microsoft.Extensions.DependencyIn jection.IServiceCollection, System.Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs(321,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAddKeyedSingleton(Microsof t.Extensions.DependencyInjection.IServiceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.Keyed.cs(327,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedScoped(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedScoped(Microsoft.Extensions.D ependencyInjection.IServiceCollection, System.Type, object?, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Extensions\ServiceCollectionDescriptorExtensions.Keyed.cs(357,30): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.KeyedSingleton(object?, TService)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceDescriptor.KeyedSingleton(System.Type, object?, object)' [src\libraries\Micro soft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.Keyed.cs(437,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollect ion, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.cs src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\ServiceCollectionServiceExtensions.Keyed.cs(486,20): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?, System.Func)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedSingleton(Microsoft.Extens ions.DependencyInjection.IServiceCollection, System.Type, object?, System.Func)' [src\libraries\Microsoft.Extensions.DependencyInjection.Abstractions\src\Microsoft.Extensions.DependencyInjection.Abstractions.csproj::TargetFramework=net9.0] src\libraries\Common\src\System\Resources\ResourceWriter.cs(491,67): warning CA2263: Prefer the generic overload 'System.Enum.Parse(string)' instead of 'System.Enum.Parse(System.Type, string)' [src\libraries\System.Resources.Extensions\src\System.Resources.Extensions.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.Primitives\src\ThrowHelper.cs(61,26): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\Microsoft.Extensions.Primitives\src\Microsoft.Extensions.Primitives.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.Primitives\src\ThrowHelper.cs(79,26): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\Microsoft.Extensions.Primitives\src\Microsoft.Extensions.Primitives.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsKeyedServiceSpecificationTests.cs(27,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IS erviceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsKeyedServiceSpecificationTests.cs(73,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IS erviceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ActivatorUtilitiesTests.cs(367,57): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(System.IServiceProvider)' instead of 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(System.IServiceProvider, System.Type)' [src\librar ies\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ActivatorUtilitiesTests.cs(404,69): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider, params object[])' instead of 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider, System.Type, params object[])' [ src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ActivatorUtilitiesTests.cs(416,69): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider, params object[])' instead of 'Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(System.IServiceProvider, System.Type, params object[])' [ src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(22,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Type , System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsKeyedServiceSpecificationTests.cs(95,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, object?)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedTransient(Microsoft.Extensions.DependencyInjection.IS erviceCollection, System.Type, object?, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(56,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Type , System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(38,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Type , System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(75,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, TService)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Type, objec t)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(90,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Type , System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(107,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(203,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(220,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(221,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(238,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(239,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(752,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\DependencyInjectionSpecificationTests.cs(915,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Typ e, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsServiceSpecificationTests.cs(26,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System .Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsServiceSpecificationTests.cs(91,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System .Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsServiceSpecificationTests.cs(114,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, Syste m.Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\ServiceProviderIsServiceSpecificationTests.cs(70,13): warning CA2263: Prefer the generic overload 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection)' instead of 'Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddTransient(Microsoft.Extensions.DependencyInjection.IServiceCollection, System .Type, System.Type)' [src\libraries\Microsoft.Extensions.DependencyInjection.Specification.Tests\src\Microsoft.Extensions.DependencyInjection.Specification.Tests.csproj::TargetFramework=net9.0] src\libraries\System.Configuration.ConfigurationManager\src\System\Diagnostics\TraceConfiguration.cs(58,74): warning CA2263: Prefer the generic overload 'System.Enum.Parse(string)' instead of 'System.Enum.Parse(System.Type, string)' [src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net9.0] src\libraries\System.Configuration.ConfigurationManager\src\System\Diagnostics\TraceConfiguration.cs(77,70): warning CA2263: Prefer the generic overload 'System.Enum.Parse(string)' instead of 'System.Enum.Parse(System.Type, string)' [src\libraries\System.Configuration.ConfigurationManager\src\System.Configuration.ConfigurationManager.csproj::TargetFramework=net9.0] src\libraries\System.Windows.Extensions\src\System\Media\SoundPlayer.cs(585,38): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Windows.Extensions\src\System.Windows.Extensions.csproj::TargetFramework=net9.0-windows] src\libraries\System.Windows.Extensions\src\System\Media\SoundPlayer.cs(587,38): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Windows.Extensions\src\System.Windows.Extensions.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs(558,34): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapSessionOptions.cs(851,34): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\common\DirectoryControl.cs(719,30): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(921,93): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramewo src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(925,76): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(926,59): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramewo src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\common\BerConverter.cs(530,38): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(547,34): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(661,41): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(1080,30): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.Protocols\src\System\DirectoryServices\Protocols\ldap\LdapConnection.cs(1345,38): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.Protocols\src\System.DirectoryServices.Protocols.csproj::TargetFramework=net9.0-windows] src\libraries\System.Diagnostics.EventLog\src\System\Diagnostics\EventLogInternal.cs(1295,18): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Diagnostics.EventLog\src\System.Diagnostics.EventLog.csproj::TargetFramework=net9.0-windows] src\libraries\System.Diagnostics.EventLog\src\System\Diagnostics\EventData.cs(42,22): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Diagnostics.EventLog\src\System.Diagnostics.EventLog.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\Interop\SafeNativeMethods.cs(84,54): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\DirectorySearcher.cs(848,58): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\DirectorySearcher.cs(898,30): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ActiveDirectoryReplicationMetaData.cs(67,67): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ActiveDirectoryReplicationMetaData.cs(74,67): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Utils.cs(2144,84): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Utils.cs(2250,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Utils.cs(2270,68): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Utils.cs(2203,37): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(256,52): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(499,53): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(514,62): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ActiveDirectorySite.cs(1336,54): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(654,53): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(669,62): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(689,54): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(782,53): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(797,62): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\TrustHelper.cs(832,54): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationOperationCollection.cs(55,41): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationOperationCollection.cs(55,91): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationNeighborCollection.cs(55,63): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\DirectoryServer.cs(696,30): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationFailureCollection.cs(55,63): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationCursorCollection.cs(58,67): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ReplicationCursorCollection.cs(72,67): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Domain.cs(1292,57): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\Forest.cs(1119,56): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(119,53): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(138,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(167,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(200,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(226,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices\src\System\DirectoryServices\ActiveDirectory\ForestTrustRelationshipInformation.cs(239,55): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices\src\System.DirectoryServices.csproj::TargetFramework=net9.0-windows] src\libraries\System.Diagnostics.PerformanceCounter\src\System\Diagnostics\CounterCreationData.cs(36,22): warning CA2263: Prefer the generic overload 'System.Enum.IsDefined(TEnum)' instead of 'System.Enum.IsDefined(System.Type, object)' [src\libraries\System.Diagnostics.PerformanceCounter\src\System.Diagnostics.PerformanceCounter.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\Utils.cs(210,60): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csp src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\Utils.cs(429,68): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\Utils.cs(501,37): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\Utils.cs(574,63): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\SAM\SAMStoreCtx.cs(1056,61): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\Utils.cs(806,75): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AD\SidList.cs(161,65): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AD\SidList.cs(162,76): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AuthZSet.cs(135,90): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AuthZSet.cs(145,85): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AuthZSet.cs(149,77): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.DirectoryServices.AccountManagement\src\System\DirectoryServices\AccountManagement\AuthZSet.cs(151,86): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.DirectoryServices.AccountManagement\src\System.DirectoryServices.AccountManagement.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(565,64): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(564,63): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(566,60): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(567,74): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(563,60): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(567,114): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(570,62): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(568,64): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(571,52): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(569,78): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(569,122): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.SizeOf()' instead of 'System.Runtime.InteropServices.Marshal.SizeOf(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(576,73): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(578,76): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(575,82): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(574,83): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(575,144): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(574,147): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(577,86): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(577,152): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(579,69): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(580,70): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDb_Util.cs(581,68): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.OffsetOf(string)' instead of 'System.Runtime.InteropServices.Marshal.OffsetOf(System.Type, string)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(338,125): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(350,117): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(391,84): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(40,107): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(146,82): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(163,79): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbWrapper.cs(192,96): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint)' instead of 'System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\ColumnBinding.cs(1048,54): warning CA2263: Prefer the generic overload 'System.Reflection.MethodInfo.CreateDelegate()' instead of 'System.Reflection.MethodInfo.CreateDelegate(System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] src\libraries\System.Data.OleDb\src\OleDbConnectionInternal.cs(594,71): warning CA2263: Prefer the generic overload 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint)' instead of 'System.Runtime.InteropServices.Marshal.PtrToStructure(nint, System.Type)' [src\libraries\System.Data.OleDb\src\System.Data.OleDb.csproj::TargetFramework=net9.0-windows] 194 Warning(s)