Esempio n. 1
0
 internal void AddSymbolEndAction(SymbolEndAnalyzerAction action)
 {
     _symbolEndActions = _symbolEndActions.Add(action);
     IsEmpty           = false;
 }
Esempio n. 2
0
        public void RegisterSymbolEndAction(DiagnosticAnalyzer analyzer, Action <SymbolAnalysisContext> action)
        {
            var analyzerAction = new SymbolEndAnalyzerAction(action, analyzer);

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