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
The cast is my least favourite. I like the constructor for being inline (which avoids a bunch of other issues when the line is conditional). I think I dealt with some similar cases with discarding parameters for some winforms specific code, so I'll look at that for inspiration too
Input code
Erroneous output
Expected output
AFAICT on the C# side extracting to a local that's specifically typed seems sufficient, but there may be a better/cleaner way.
Details
VS extension 8.1.6.0
The text was updated successfully, but these errors were encountered: