Skip to content

AD0001 Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer #1630

@nnpcYvIVl

Description

@nnpcYvIVl
Warning (active)	AD0001	Analyzer 'Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.
Exception occurred with following context:
Compilation: Solution
SyntaxTree: C:\Workspace\Solution\TestLibrary.cs
SyntaxNode: LazyAppTemplateList .Where(x => ... [InvocationExpressionSyntax]@[9311..9471) (169,74)-(171,62)

System.NullReferenceException: Object reference not set to an instance of an object.
   at Roslynator.CSharp.Analysis.OptimizeLinqMethodCallAnalysis.AnalyzeOrderByIdentity(SyntaxNodeAnalysisContext context, SimpleMemberInvocationExpressionInfo& invocationInfo)
   at Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer.AnalyzeInvocationExpression(SyntaxNodeAnalysisContext context)
   at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions