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