Example #1
0
 public override void RegisterOperationAction(Action <OperationAnalysisContext> action, ImmutableArray <OperationKind> operationKinds)
 {
     _scope.RegisterOperationAction(_analyzer, action, operationKinds);
 }
Example #2
0
 public override void RegisterOperationAction(Action <OperationAnalysisContext> action, ImmutableArray <OperationKind> operationKinds)
 {
     DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds);
     _scope.RegisterOperationAction(_analyzer, action, operationKinds);
 }