Ejemplo n.º 1
0
 internal void AddOperationBlockStartAction(OperationBlockStartAnalyzerAction action)
 {
     _operationBlockStartActions = _operationBlockStartActions.Add(action);
     IsEmpty = false;
 }
Ejemplo n.º 2
0
        public void RegisterOperationBlockStartAction(DiagnosticAnalyzer analyzer, Action <OperationBlockStartAnalysisContext> action)
        {
            OperationBlockStartAnalyzerAction analyzerAction = new OperationBlockStartAnalyzerAction(action, analyzer);

            this.GetOrCreateAnalyzerActions(analyzer).AddOperationBlockStartAction(analyzerAction);
        }