public void RegisterCodeBlockAction(DiagnosticAnalyzer analyzer, Action <CodeBlockAnalysisContext> action)
        {
            CodeBlockAnalyzerAction analyzerAction = new CodeBlockAnalyzerAction(action, analyzer);

            this.GetOrCreateAnalyzerActions(analyzer).AddCodeBlockAction(analyzerAction);
        }
 internal void AddCodeBlockAction(CodeBlockAnalyzerAction action)
 {
     _codeBlockActions = _codeBlockActions.Add(action);
     IsEmpty           = false;
 }
Exemplo n.º 3
0
 internal void AddCodeBlockAction(CodeBlockAnalyzerAction action)
 {
     _codeBlockActions = _codeBlockActions.Add(action);
 }