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
When decompiling a statement that contains an out variable, ILSpy will check to see if that particular named variable is in already scope before determining whether or not to also make it a declaration. However, it sometimes incorrectly determines that some out vars are already in scope when they actually aren't, such as the following example:
This tends to only crop up if we're using a pdb containing the debug names of the variables (we would otherwise just choose unique names for each out variable)