Skip to content

Commit

Permalink
Improve naming of method
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthurvdv committed Dec 14, 2024
1 parent f0a7234 commit df392a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ public class Rule0080AnalyzeJsonTokenJPath : DiagnosticAnalyzer
public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; } = ImmutableArray.Create(DiagnosticDescriptors.Rule0080AnalyzeJsonTokenJPath);

public override void Initialize(AnalysisContext context) =>
context.RegisterOperationAction(new Action<OperationAnalysisContext>(this.SelectSingleNode), OperationKind.InvocationExpression);
context.RegisterOperationAction(new Action<OperationAnalysisContext>(this.AnalyzeSelectToken), OperationKind.InvocationExpression);

private void SelectSingleNode(OperationAnalysisContext ctx)
private void AnalyzeSelectToken(OperationAnalysisContext ctx)
{
if (ctx.IsObsoletePendingOrRemoved())
return;
Expand Down

0 comments on commit df392a2

Please sign in to comment.