public override void RegisterOperationBlockStartAction(Action <OperationBlockStartAnalysisContext> action) { DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled); RegisterOperationBlockStartActionInternal(action); }
public override void RegisterOperationBlockAction(Action <OperationBlockAnalysisContext> action) { DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled); DiagnosticAnalysisContextHelpers.VerifyArguments(action); _scope.RegisterOperationBlockAction(_analyzer, action); }
public override void RegisterOperationAction(Action <OperationAnalysisContext> action, ImmutableArray <OperationKind> operationKinds) { DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled); RegisterOperationActionImmutableArrayInternal(action, operationKinds); }
public override void RegisterOperationAction(Action <OperationAnalysisContext> action, ImmutableArray <OperationKind> operationKinds) { DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled); DiagnosticAnalysisContextHelpers.VerifyArguments(action, operationKinds); _scope.RegisterOperationAction(_analyzer, action, operationKinds); }