Warn on method access in Requires analyzers #110086
+61
−55
Open
Azure Pipelines / runtime (Build windows-x86 release CoreCLR_Libraries)
failed
Nov 22, 2024 in 24m 36s
Build windows-x86 release CoreCLR_Libraries failed
Annotations
azure-pipelines / runtime (Build windows-x86 release CoreCLR_Libraries)
src\libraries\Microsoft.Extensions.Logging.Configuration\src\LoggerFilterConfigureOptions.cs#L33
src\libraries\Microsoft.Extensions.Logging.Configuration\src\LoggerFilterConfigureOptions.cs(33,37): error IL2026: (NETCORE_ENGINEERING_TELEMETRY=Build) Using member 'Microsoft.Extensions.Configuration.ConfigurationBinder.GetValue<T>(IConfiguration, String, T)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. In case the type is non-primitive, the trimmer cannot statically analyze the object's type so its members may be trimmed.
Loading