With the latest update to Code Rush and /or the latest version of Visual Studio, I'm getting a number of errors when coding:
My ultimate goal is to have these errors not occur.
Thanks
Mark
With the latest update to Code Rush and /or the latest version of Visual Studio, I'm getting a number of errors when coding:
My ultimate goal is to have these errors not occur.
Thanks
Mark
We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.
Important Notes:
Hi,
Do you mind if we make this ticket public, so that we can include it in the list of fixed issues for the next release?
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Mark,
Thank you for the report. Can you click the "Show Stack Trace" link for each message, copy stack traces, and paste them here? They will help us determine why these issues occur. Also, please check what kind of file you are editing when you see these messages appearing. Is it a regular vb or cs file, a razor file, or something else?
I look forward to hearing from you.
Here’ the stack trace. I was editing a Windows VB.NET Winform when this was displayed:
System.ArgumentNullException : Value cannot be null.
Parameter name: source
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at DevExpress.CodeAnalysis.VisualBasic.IdentifierNameSyntaxExt.IsDelegateType(SimpleNameSyntax identifier,Document document,SemanticModel semanticModel,CancellationToken cancellationToken,ITypeSymbol& delegateSymbol)
at DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.MethodAvailabilityHelper.IsAvailableIdentifier(Document document,SemanticModel semanticModel,CancellationToken cancellationToken,SimpleNameSyntax targetIdentifier)
at DevExpress.CodeAnalysis.VisualBasic.CodeDeclare.MethodAvailabilityHelper.HasAvailableIdentifier(SemanticModel semanticModel,Document document,CancellationToken cancellationToken,SyntaxNode root,TextSpan textSpan,SimpleNameSyntax& targetIdentifier)
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 Dietsch
Principal Software Engineer
Thank you!