You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should generate a feature that can produce enum info without reflection. This should be addressed in two phases:
Move enum info retrieval to a separate feature
Remove reflection
Warning:
W:\openxml\sdk\src\DocumentFormat.OpenXml\SimpleTypes\EnumInfoLookup.cs(123,33): warning IL2090: 'this' argument do
es not satisfy 'DynamicallyAccessedMemberTypes.PublicFields', 'DynamicallyAccessedMemberTypes.NonPublicFields' in c
all to 'System.Reflection.TypeInfo.GetDeclaredField(String)'. The generic parameter 'TEnum' of 'DocumentFormat.Open
Xml.EnumInfoLookup<TEnum>' does not have matching annotations. The source value must declare at least the same requ
irements as those declared on the target location it is assigned to. [W:\openxml\sdk\src\DocumentFormat.OpenXml\Doc
umentFormat.OpenXml.csproj]
The text was updated successfully, but these errors were encountered:
Description
We should generate a feature that can produce enum info without reflection. This should be addressed in two phases:
Warning:
The text was updated successfully, but these errors were encountered: