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
It's happening in the evaluation of Binder.DoUncheckedConversion in a speculative semantic model, and appears to impact code where the entire block body of a method is wrapped in unchecked { }. The manager is non-null, but the syntax != Root. Perhaps the assertion should be changed to syntax == GetBindableSyntaxNode(Root)?
The text was updated successfully, but these errors were encountered:
Version Used:
Steps to Reproduce:
While debugging Roslyn with an open instance of Compilers.slnf, I observed the following assertion fail:
roslyn/src/Compilers/CSharp/Portable/Compilation/MemberSemanticModel.cs
Lines 1510 to 1514 in fa64d90
It's happening in the evaluation of
Binder.DoUncheckedConversion
in a speculative semantic model, and appears to impact code where the entire block body of a method is wrapped inunchecked { }
. Themanager
is non-null, but thesyntax != Root
. Perhaps the assertion should be changed tosyntax == GetBindableSyntaxNode(Root)
?The text was updated successfully, but these errors were encountered: