Describe the bug
Just upgraded to 17.0.1 and now we're getting:
ILLink : Trim analysis error IL2067: YamlDotNet.ReflectionExtensions.GetPublicStaticMethod(Type, String, Type[]): 'type' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.NonPublicMethods' in call to 'System.Reflection.RuntimeReflectionExtensions.GetRuntimeMethods(Type)'. The parameter 'type' of method 'YamlDotNet.ReflectionExtensions.GetPublicStaticMethod(Type, String, Type[])' does not have matching annotations. The source value must declare at least the same requirements as those declared on the target location it is assigned to.
This trim warning was not present in 16.3.0.
Describe the bug
Just upgraded to
17.0.1and now we're getting:This trim warning was not present in
16.3.0.