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
@HaloFour Roslyn already has some smarts here. Namely it looks in the Type for that value for any constants matching the value. If it finds any, it will use them. As such, it will replace constants with things like int.MaxValue, double.Infinity, etc. etc.
This is the behavior you would get previously with the normal 'metadata as source' feature.
The following:
gets decompiled to:
Similar to other decompilers, we should be smarter around replacing magic "literals" with their appropriate constants.
The text was updated successfully, but these errors were encountered: