❔ [Trimming] Enum.Parse
What do I have to specify in
[DynamicallyAccessedMembers]
to make sure that Enum.Parse(Type, String)
works properly in trimming?7 Replies
For instance, take this code
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
It involved quite some other reflection stuff as well, I was just trying to give some kind of minimal sample
Unknown User•15mo ago
Message Not Public
Sign In & Join Server To View
Well, in the .NET source code, the
Enum(Type, string)
function also isn't annotatedmy guess is that enum members are not trimmed
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.