18 references to Symbol
Microsoft.CodeAnalysis (18)
DiagnosticAnalyzer\AnalysisScope.cs (2)
216return symbolEvent.Symbol.IsImplicitlyDeclared || symbolEvent.DeclaringSyntaxReferences.All(s => s.SyntaxTree == null); 256var node = getTopmostNodeForAnalysis(symbolEvent.Symbol, syntaxRef, symbolEvent.Compilation, cancellationToken);
DiagnosticAnalyzer\AnalyzerDriver.cs (6)
1665await onSymbolAndMembersProcessedAsync(symbolDeclaredEvent.Symbol, analyzer).ConfigureAwait(false); 1755var symbol = symbolEvent.Symbol; 1788var symbol = symbolEvent.Symbol; 1819var symbol = symbolEvent.Symbol; 2501var symbol = symbolEvent.Symbol; 2583var symbol = symbolEvent.Symbol;
DiagnosticAnalyzer\AnalyzerExecutor.cs (4)
367IsAnalyzerSuppressedForSymbol(analyzer, symbolDeclaredEvent.Symbol, cancellationToken)) 372var symbol = symbolDeclaredEvent.Symbol; 474Debug.Assert(!IsAnalyzerSuppressedForSymbol(analyzer, symbolDeclaredEvent.Symbol, cancellationToken)); 477var symbol = symbolDeclaredEvent.Symbol;
DiagnosticAnalyzer\AnalyzerManager.AnalyzerExecutionContext.cs (1)
436var symbol = symbolDeclaredEvent.Symbol;
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
906symbolDeclaredEvent.Symbol.Kind != SymbolKind.Namespace) 908foreach (var location in symbolDeclaredEvent.Symbol.Locations)
DiagnosticAnalyzer\SymbolDeclaredCompilationEvent.cs (3)
44static self => self.Symbol.DeclaringSyntaxReferences, 51var name = Symbol.Name; 54return "SymbolDeclaredCompilationEvent(" + name + " " + Symbol.ToDisplayString(SymbolDisplayFormat.MinimallyQualifiedFormat) + loc + ")";