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
Describe the bug in detail:
When you have a method that defines a out parameter, like MyCoolMethod(out string myString), then the normal way to call it if you don't want the value of the out, is to do this MyCoolMethod(out _). The issue is this does not work, and the compiler complains about a missing symbol _. Having this fixed would be nice, as otherwise right now you need to assign it to a random variable in your source and it looks a bit messy. The only current workaround is essentially MyCoolMethod(out string DISCARD)
The text was updated successfully, but these errors were encountered:
Describe the bug in detail:
When you have a method that defines a out parameter, like
MyCoolMethod(out string myString)
, then the normal way to call it if you don't want the value of the out, is to do thisMyCoolMethod(out _)
. The issue is this does not work, and the compiler complains about a missing symbol_
. Having this fixed would be nice, as otherwise right now you need to assign it to a random variable in your source and it looks a bit messy. The only current workaround is essentiallyMyCoolMethod(out string DISCARD)
The text was updated successfully, but these errors were encountered: