Skip to content
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

ArgumentException in VisualBasicChangeSignatureService.GetPositionBeforeParameterListClosingBrace #44603

Closed
mavasani opened this issue May 27, 2020 · 1 comment · Fixed by #44799

Comments

@mavasani
Copy link
Contributor

Version Used: Latest 16.7 dogfooding build

Steps to Reproduce:

Say the following exception/gold bar while typing:

System.ArgumentException : Unexpected SyntaxNode
Parameter name: matchingNode
   at Microsoft.CodeAnalysis.VisualBasic.ChangeSignature.VisualBasicChangeSignatureService.GetPositionBeforeParameterListClosingBrace(SyntaxNode matchingNode)
   at async Microsoft.CodeAnalysis.ChangeSignature.AbstractChangeSignatureService.GetContextAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.ChangeSignature.AbstractChangeSignatureService.GetChangeSignatureCodeActionAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.ChangeSignature.ChangeSignatureCodeRefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
   at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)
   at Microsoft.VisualStudio.Telemetry.WindowsErrorReporting.WatsonReport.GetClrWatsonExceptionInfo(Exception exceptionObject)
@mavasani
Copy link
Contributor Author

@dpoeschl Known?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant