I have not been able to reliably reproduce this issue, but I have seen it on multiple occasions. It causes the editor to behave strangely after that.
While defining a variable in VB.NET…
C#System.ArgumentNullException : Value cannot be null.
Parameter name: type
at async DevExpress.CodeAnalysis.Refactorings.RefactoringAction.IsAvailable(<Unknown Parameters>)
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.RefactoringIsAvailable(<Unknown Parameters>)
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.GetAvailableRefactorings(<Unknown Parameters>)
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.GetRefactoringFromProviderAsync(<Unknown Parameters>)
Hello Brien,
Thank you for pointing out this issue and providing the stack trace.
I have tried to reproduce this issue on my side, but without success.
To help us with our research, would you provide us with CodeRush log files (they can be obtained here: %LocalAppData%\CodeRush\Logs).
We are looking forward to your response.
Here are all my logs that contained an error.
Brien,
Thank you for providing the log files.
We have researched them and found the stack trace of this issue.
We will try to fix the issue based on this stack trace and let you know when we make any progress.