Skip to content

AD0001 Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer #1630

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

Open
nnpcYvIVl opened this issue Feb 24, 2025 · 0 comments
Open

AD0001 Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer #1630

nnpcYvIVl opened this issue Feb 24, 2025 · 0 comments

Comments

@nnpcYvIVl
Copy link
Contributor

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants