You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.InvalidOperationException: Object is not initialized.
at Roslynator.CSharp.Syntax.SimpleMemberInvocationExpressionInfo.get_Name()
at Roslynator.CSharp.Syntax.SimpleMemberInvocationExpressionInfo.get_NameText()
at Roslynator.CSharp.Analysis.OptimizeStringBuilderAppendCallAnalysis.Analyze(SyntaxNodeAnalysisContext context, SimpleMemberInvocationExpressionInfo& invocationInfo)
at Roslynator.CSharp.Analysis.InvocationExpressionAnalyzer.AnalyzeInvocationExpression(SyntaxNodeAnalysisContext context)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__49`1.<ExecuteSyntaxNodeAction>b__49_0(ValueTuple`2 data)
at Microsoft.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock[TArg](DiagnosticAnalyzer analyzer, Action`1 analyze, TArg argument, Nullable`1 info, CancellationToken cancellationToken)
Expected Behavior:
No warning should occur.
The text was updated successfully, but these errors were encountered:
daze99
changed the title
AD0001 when using StrinngBuilder.AppendLine()
AD0001 when using StringBuilder.AppendLine()
Oct 19, 2023
Product and Version Used:
Roslynator 4.6.0 in Visual Studio 17.7.5
Steps to Reproduce:
Actual Behavior:
There is a warning AD0001
Expected Behavior:
No warning should occur.
The text was updated successfully, but these errors were encountered: