Good Afternoon,
I'm continuing to get Code Rush errors when starting up different solutions… note, this does not happen every time, but it is happening more frequently now. Not sure if it's because of a Visual Studio update or what, but it is frustrating:
So both of these show up in the bar that runs across the top of visual studio when you're looking at code:
These two were when starting a VB.NET Desktop (winforms) application… using the net 4.8 framework. (older application).
CodeDeclareMemberWithInitializerProvider error trace:
System.NullReferenceException : Object reference not set to an instance of an object.
at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.FieldWithInitializerAvailabilityHelper.GetAvailableNode(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareLocalRefactoring.RefactoringIsAvailable(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.GetAvailableRefactorings(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<GetRefactoringFromProviderAsync>b__0(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)
DeclareProvider error trace:
System.NullReferenceException : Object reference not set to an instance of an object.
at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.MemberAvailabilityHelper.GetAvailableNode(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.DeclareMemberRefactoring.RefactoringIsAvailable(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.GetAvailableRefactorings(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async DevExpress.CodeAnalysis.Refactorings.RefactoringProvider.ComputeRefactoringsAsync(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.CodeRefactorings.CodeRefactoringService.<>c__DisplayClass12_0.<GetRefactoringFromProviderAsync>b__0(<Unknown Parameters>)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at async Microsoft.CodeAnalysis.Extensions.IExtensionManagerExtensions.PerformFunctionAsync[T](<Unknown Parameters>)
Mark,
Thank you for the report. We are already aware of this issue and are working on a fix now.