예제 #1
0
 public override void RegisterCompilationStartAction(Action <CompilationStartAnalysisContext> action)
 {
     DiagnosticAnalysisContextHelpers.VerifyArguments(action);
     _scope.RegisterCompilationStartAction(_analyzer, action);
 }
예제 #2
0
 internal override void RegisterOperationBlockActionInternal(Action <OperationBlockAnalysisContext> action)
 {
     DiagnosticAnalysisContextHelpers.VerifyArguments(action);
     _scope.RegisterOperationBlockAction(_analyzer, action);
 }
예제 #3
0
 public override void RegisterOperationAction(Action <OperationAnalysisContext> action, ImmutableArray <OperationKind> operationKinds)
 {
     DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled);
     RegisterOperationActionImmutableArrayInternal(action, operationKinds);
 }
예제 #4
0
 public override void RegisterOperationBlockAction(Action <OperationBlockAnalysisContext> action)
 {
     DiagnosticAnalysisContextHelpers.VerifyIOperationFeatureFlag(_isIOperationFeatureEnabled);
     RegisterOperationBlockActionInternal(action);
 }