Warn on method access in Requires analyzers #110086
+61
−55
Open
Azure Pipelines / runtime-dev-innerloop (Build windows-x86 release MSBuild_CMake)
failed
Nov 22, 2024 in 38m 26s
Build windows-x86 release MSBuild_CMake failed
Annotations
azure-pipelines / runtime-dev-innerloop (Build windows-x86 release MSBuild_CMake)
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