System.Reflection.MetadataContext is not trim compatible
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
### Description
List of all warnings:
```
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.GetTypes(): Base member 'System.Reflection.Assembly.GetTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.GetTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.DefinedTypes.get: Base member 'System.Reflection.Assembly.DefinedTypes.get' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.DefinedTypes.get' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.GetExportedTypes(): Base member 'System.Reflection.Assembly.GetExportedTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.GetExportedTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.ExportedTypes.get: Base member 'System.Reflection.Assembly.ExportedTypes.get' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.ExportedTypes.get' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.GetType(String,Boolean,Boolean): Base member 'System.Reflection.Assembly.GetType(String,Boolean,Boolean)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.GetType(String,Boolean,Boolean)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.GetReferencedAssemblies(): Base member 'System.Reflection.Assembly.GetReferencedAssemblies()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.GetReferencedAssemblies()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.CreateInstance(String,Boolean,BindingFlags,Binder,Object[],CultureInfo,Object[]): Base member 'System.Reflection.Assembly.CreateInstance(String,Boolean,BindingFlags,Binder,Object[],CultureInfo,Object[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.CreateInstance(String,Boolean,BindingFlags,Binder,Object[],CultureInfo,Object[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.GetForwardedTypes(): Base member 'System.Reflection.Assembly.GetForwardedTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.GetForwardedTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoAssembly.LoadModule(String,Byte[],Byte[]): Base member 'System.Reflection.Assembly.LoadModule(String,Byte[],Byte[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoAssembly.LoadModule(String,Byte[],Byte[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetConstructors(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetConstructors(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetConstructors(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetConstructorImpl(BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetConstructorImpl(BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' don't match overridden implicit 'this' parameter of method 'System.Type.GetConstructorImpl(BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetEvents(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetEvents(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetEvents(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetEvent(String,BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetEvent(String,BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetEvent(String,BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetFields(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetFields(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetFields(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetField(String,BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetField(String,BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetField(String,BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMethods(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMethods(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetMethods(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' don't match overridden implicit 'this' parameter of method 'System.Type.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMethodImpl(String,Int32,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMethodImpl(String,Int32,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' don't match overridden implicit 'this' parameter of method 'System.Type.GetMethodImpl(String,Int32,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetNestedTypes(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetNestedTypes(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetNestedTypes(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetNestedType(String,BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetNestedType(String,BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetNestedType(String,BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetProperties(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetProperties(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetProperties(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetPropertyImpl(String,BindingFlags,Binder,Type,Type[],ParameterModifier[]): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetPropertyImpl(String,BindingFlags,Binder,Type,Type[],ParameterModifier[])' don't match overridden implicit 'this' parameter of method 'System.Type.GetPropertyImpl(String,BindingFlags,Binder,Type,Type[],ParameterModifier[])'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMembers(BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMembers(BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetMembers(BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMember(String,BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMember(String,BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetMember(String,BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetMember(String,MemberTypes,BindingFlags): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetMember(String,MemberTypes,BindingFlags)' don't match overridden implicit 'this' parameter of method 'System.Type.GetMember(String,MemberTypes,BindingFlags)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetInterfaces(): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetInterfaces()' don't match overridden implicit 'this' parameter of method 'System.Type.GetInterfaces()'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.ImplementedInterfaces.get: 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.ImplementedInterfaces.get' don't match overridden implicit 'this' parameter of method 'System.Reflection.TypeInfo.ImplementedInterfaces.get'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2092: System.Reflection.TypeLoading.RoType.GetInterfaceMap(Type): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the parameter 'interfaceType' of method 'System.Reflection.TypeLoading.RoType.GetInterfaceMap(Type)' don't match overridden parameter 'interfaceType' of method 'System.Type.GetInterfaceMap(Type)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetDefaultMembers(): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetDefaultMembers()' don't match overridden implicit 'this' parameter of method 'System.Type.GetDefaultMembers()'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoType.MakeArrayType(): Base member 'System.Type.MakeArrayType()' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoType.MakeArrayType()' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoType.MakeArrayType(Int32): Base member 'System.Type.MakeArrayType(Int32)' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoType.MakeArrayType(Int32)' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoType.GetEnumValues(): Base member 'System.Type.GetEnumValues()' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoType.GetEnumValues()' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.InvokeMember(String,BindingFlags,Binder,Object,Object[],ParameterModifier[],CultureInfo,String[]): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.InvokeMember(String,BindingFlags,Binder,Object,Object[],ParameterModifier[],CultureInfo,String[])' don't match overridden implicit 'this' parameter of method 'System.Type.InvokeMember(String,BindingFlags,Binder,Object,Object[],ParameterModifier[],CultureInfo,String[])'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2093: System.Reflection.TypeLoading.RoType.GetInterface(String,Boolean): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the return value of method 'System.Reflection.TypeLoading.RoType.GetInterface(String,Boolean)' don't match overridden return value of method 'System.Type.GetInterface(String,Boolean)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : Trim analysis error IL2094: System.Reflection.TypeLoading.RoType.GetInterface(String,Boolean): 'DynamicallyAccessedMemberTypes' in 'DynamicallyAccessedMembersAttribute' on the implicit 'this' parameter of method 'System.Reflection.TypeLoading.RoType.GetInterface(String,Boolean)' don't match overridden implicit 'this' parameter of method 'System.Type.GetInterface(String,Boolean)'. All overridden members must have the same 'DynamicallyAccessedMembersAttribute' usage.
ILC : error IL3001: System.Reflection.TypeLoading.Ecma.EcmaAssembly.GetManifestResourceStream(String): 'System.Reflection.Assembly.GetFile(String)' will throw for assemblies embedded in a single-file app
ILC : Trim analysis error IL2026: System.Reflection.TypeLoading.RoAssembly.GetTypes(): Using member 'System.Reflection.Assembly.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
ILC : Trim analysis error IL2026: System.Reflection.TypeLoading.RoAssembly.GetTypes(): Using member 'System.Reflection.Module.GetTypes()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. Types might be removed.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Ecma.EcmaModule.GetField(String,BindingFlags): Base member 'System.Reflection.Module.GetField(String,BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Ecma.EcmaModule.GetField(String,BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Ecma.EcmaModule.GetFields(BindingFlags): Base member 'System.Reflection.Module.GetFields(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Ecma.EcmaModule.GetFields(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Ecma.EcmaModule.GetMethods(BindingFlags): Base member 'System.Reflection.Module.GetMethods(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Ecma.EcmaModule.GetMethods(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Ecma.EcmaModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): Base member 'System.Reflection.Module.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Ecma.EcmaModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Ecma.EcmaModule.GetTypes(): Base member 'System.Reflection.Module.GetTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Ecma.EcmaModule.GetTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetField(String,BindingFlags): Base member 'System.Reflection.Module.GetField(String,BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetField(String,BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetFields(BindingFlags): Base member 'System.Reflection.Module.GetFields(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetFields(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetMethods(BindingFlags): Base member 'System.Reflection.Module.GetMethods(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetMethods(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): Base member 'System.Reflection.Module.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetTypes(): Base member 'System.Reflection.Module.GetTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveField(Int32,Type[],Type[]): Base member 'System.Reflection.Module.ResolveField(Int32,Type[],Type[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveField(Int32,Type[],Type[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveMember(Int32,Type[],Type[]): Base member 'System.Reflection.Module.ResolveMember(Int32,Type[],Type[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveMember(Int32,Type[],Type[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveMethod(Int32,Type[],Type[]): Base member 'System.Reflection.Module.ResolveMethod(Int32,Type[],Type[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveMethod(Int32,Type[],Type[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveSignature(Int32): Base member 'System.Reflection.Module.ResolveSignature(Int32)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveSignature(Int32)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveString(Int32): Base member 'System.Reflection.Module.ResolveString(Int32)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveString(Int32)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.ResolveType(Int32,Type[],Type[]): Base member 'System.Reflection.Module.ResolveType(Int32,Type[],Type[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.ResolveType(Int32,Type[],Type[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoModule.GetType(String,Boolean,Boolean): Base member 'System.Reflection.Module.GetType(String,Boolean,Boolean)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoModule.GetType(String,Boolean,Boolean)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoDefinitionType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoDefinitionType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2096: System.Reflection.TypeLoading.Helpers.LoadTypeFromAssemblyQualifiedName(String,RoAssembly,Boolean,Boolean): Call to 'System.Type.GetType(String,Func`2,Func`4,Boolean,Boolean)' can perform case insensitive lookup of the type, currently trimming can not guarantee presence of all the matching types.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoHasElementType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoHasElementType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2055: System.Reflection.TypeLoading.Assignability.IsAssignableFrom(Type,Type,CoreTypes): Call to 'System.Type.MakeGenericType(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
ILC : AOT analysis error IL3050: System.Reflection.TypeLoading.Assignability.IsAssignableFrom(Type,Type,CoreTypes): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoGenericParameterType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoGenericParameterType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoResourceModule.GetField(String,BindingFlags): Base member 'System.Reflection.Module.GetField(String,BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoResourceModule.GetField(String,BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoResourceModule.GetFields(BindingFlags): Base member 'System.Reflection.Module.GetFields(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoResourceModule.GetFields(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoResourceModule.GetMethods(BindingFlags): Base member 'System.Reflection.Module.GetMethods(BindingFlags)' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoResourceModule.GetMethods(BindingFlags)' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoResourceModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[]): Base member 'System.Reflection.Module.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoResourceModule.GetMethodImpl(String,BindingFlags,Binder,CallingConventions,Type[],ParameterModifier[])' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoResourceModule.GetTypes(): Base member 'System.Reflection.Module.GetTypes()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoResourceModule.GetTypes()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.Sentinels.SentinelMethod.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Sentinels.SentinelMethod.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.Sentinels.SentinelMethod.MakeGenericMethod(Type[]): Base member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.Sentinels.SentinelMethod.MakeGenericMethod(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoMethod.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoMethod.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoMethod.MakeGenericMethod(Type[]): Base member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoMethod.MakeGenericMethod(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoStubType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoStubType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.Assignability.CanCastTo(Type,Type,CoreTypes): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'fromTypeInfo' of method 'System.Reflection.TypeLoading.Assignability.CanCastTo(Type,Type,CoreTypes)' 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.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoConstructedGenericType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoConstructedGenericType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoDefinitionConstructor`1.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoDefinitionConstructor`1.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoConstructor.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoConstructor.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2075: System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeData.ComputeConstructor(): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Binder,Type[],ParameterModifier[])'. The return value of method 'System.Reflection.TypeLoading.Ecma.EcmaResolver.ResolveTypeDefRefOrSpec(EntityHandle,EcmaModule,TypeContext&)' 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.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.Assignability.CanCastArrayToInterface(Type,Type,CoreTypes): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'fromTypeInfo' of method 'System.Reflection.TypeLoading.Assignability.CanCastArrayToInterface(Type,Type,CoreTypes)' 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.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.Assignability.CanCastArrayToInterface(Type,Type,CoreTypes): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.Interfaces' in call to 'System.Type.GetInterfaces()'. The parameter 'fromTypeInfo' of method 'System.Reflection.TypeLoading.Assignability.CanCastArrayToInterface(Type,Type,CoreTypes)' 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.
ILC : Trim analysis error IL2075: System.Reflection.MetadataLoadContext.TryGetConstructor(CoreType,CoreType[]): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.NonPublicConstructors' in call to 'System.Type.GetConstructor(BindingFlags,Binder,Type[],ParameterModifier[])'. The return value of method 'System.Reflection.MetadataLoadContext.TryGetCoreType(CoreType)' 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.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeHelpers.ToApiForm(CustomAttributeNamedArgument`1,Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicFields' in call to 'System.Type.GetField(String,BindingFlags)'. The parameter 'attributeType' of method 'System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeHelpers.ToApiForm(CustomAttributeNamedArgument`1,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.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeHelpers.ToApiForm(CustomAttributeNamedArgument`1,Type): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicProperties' in call to 'System.Type.GetProperty(String,BindingFlags)'. The parameter 'attributeType' of method 'System.Reflection.TypeLoading.Ecma.EcmaCustomAttributeHelpers.ToApiForm(CustomAttributeNamedArgument`1,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.
ILC : AOT analysis error IL3050: System.Reflection.SignatureTypeExtensions.TryMakeArrayType(Type): Using member 'System.Type.MakeArrayType()' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available.
ILC : AOT analysis error IL3050: System.Reflection.SignatureTypeExtensions.TryMakeArrayType(Type,Int32): Using member 'System.Type.MakeArrayType(Int32)' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The code for an array of the specified type might not be available.
ILC : Trim analysis error IL2055: System.Reflection.SignatureTypeExtensions.TryMakeGenericType(Type,Type[]): Call to 'System.Type.MakeGenericType(Type[])' can not be statically analyzed. It's not possible to guarantee the availability of requirements of the generic type.
ILC : AOT analysis error IL3050: System.Reflection.SignatureTypeExtensions.TryMakeGenericType(Type,Type[]): Using member 'System.Type.MakeGenericType(Type[])' which has 'RequiresDynamicCodeAttribute' can break functionality when AOT compiling. The native code for this instantiation might not be available at runtime.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoDefinitionMethod`1.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoDefinitionMethod`1.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoDefinitionMethod`1.MakeGenericMethod(Type[]): Base member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoDefinitionMethod`1.MakeGenericMethod(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoSyntheticMethod.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoSyntheticMethod.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoSyntheticMethod.MakeGenericMethod(Type[]): Base member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoSyntheticMethod.MakeGenericMethod(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoSyntheticConstructor.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoSyntheticConstructor.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2046: System.Reflection.TypeLoading.RoConstructedGenericMethod.GetMethodBody(): Base member 'System.Reflection.MethodBase.GetMethodBody()' with 'RequiresUnreferencedCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoConstructedGenericMethod.GetMethodBody()' without 'RequiresUnreferencedCodeAttribute'. 'RequiresUnreferencedCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoConstructedGenericMethod.MakeGenericMethod(Type[]): Base member 'System.Reflection.MethodInfo.MakeGenericMethod(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoConstructedGenericMethod.MakeGenericMethod(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.TypeLoading.RoFunctionPointerType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.TypeLoading.RoFunctionPointerType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : AOT analysis error IL3051: System.Reflection.RoModifiedType.MakeGenericType(Type[]): Base member 'System.Type.MakeGenericType(Type[])' with 'RequiresDynamicCodeAttribute' has a derived member 'System.Reflection.RoModifiedType.MakeGenericType(Type[])' without 'RequiresDynamicCodeAttribute'. 'RequiresDynamicCodeAttribute' annotations must match across all interface implementations or overrides.
ILC : Trim analysis error IL2070: System.Reflection.TypeLoading.CustomAttributeHelpers.ToCustomAttributeNamedArgument(Type,String,Type,Object): 'this' argument does not satisfy 'DynamicallyAccessedMemberTypes.PublicConstructors', 'DynamicallyAccessedMemberTypes.PublicMethods', 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.PublicNestedTypes', 'DynamicallyAccessedMemberTypes.PublicProperties', 'DynamicallyAccessedMemberTypes.PublicEvents' in call to 'System.Type.GetMember(String,MemberTypes,BindingFlags)'. The parameter 'attributeType' of method 'System.Reflection.TypeLoading.CustomAttributeHelpers.ToCustomAttributeNamedArgument(Type,String,Type,Object)' 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.
```
Contributor guide
Assessment
This issue has not been assessed yet.