Skip to content

Commit 7407627

Browse files
authored
chore: cleanup FluentAssertionsAnalyzer.cs (#391)
1 parent 70324b5 commit 7407627

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/FluentAssertions.Analyzers/Tips/FluentAssertionsAnalyzer.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ private static void AnalyzeInvocation(OperationAnalysisContext context, FluentAs
4949
return;
5050
}
5151

52-
context.Options.AnalyzerConfigOptionsProvider.GetOptions(invocation.Syntax.SyntaxTree).TryGetValue("use_diagnostic_per_assertion", out var useDiagnosticPerAssertion);
5352
if (HasConditionalAccessAncestor(invocation))
5453
{
5554
var expressionStatement = invocation.GetFirstAncestor<IExpressionStatementOperation>();
@@ -665,4 +664,4 @@ static Diagnostic CreateDiagnostic(IOperation operation, DiagnosticMetadata meta
665664
location: operation.Syntax.GetLocation(),
666665
properties: properties);
667666
}
668-
}
667+
}

0 commit comments

Comments
 (0)