-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when opening Intellisense suggestion to resolve CA2012 #66726
Comments
Moving to Area-IDE. The compiler ( Here's the tree I observed:
For repro, add the following test to
|
Looks like we've had a couple of hundred hits: https://prism.vsdata.io/failure/?query=c%3AFindConditionalAccessNodeForBinding&eventType=fault&failureType=hits&failureHash=8b5d35a7-1577-0bfd-1622-9b238051162f |
Version Used:
.NET 7.0.2
VS 17.4.4
Steps to Reproduce:
Minimal Repro - https://github.com/Nick-Stanton/ReproRoslynError
Quick Actions and Refactorings...
Diagnostic Id: CA2012
Expected Behavior:
CSharpAddAwaitCodeRefactoringProvider
does not encounter an error.Actual Behavior:
Visual Studio alerts that
CSharpAddAwaitCodeRefactoringProvider
has encountered an error with the below stack trace.The text was updated successfully, but these errors were encountered: