2 overrides of GetTopmostNodeForDiagnosticAnalysis
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpSemanticModel.cs (1)
5261
protected internal override SyntaxNode
GetTopmostNodeForDiagnosticAnalysis
(ISymbol symbol, SyntaxNode declaringSyntax)
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\SemanticModel.vb (1)
3527
Protected Overrides Function
GetTopmostNodeForDiagnosticAnalysis
(symbol As ISymbol, declaringSyntax As SyntaxNode) As SyntaxNode
3 references to GetTopmostNodeForDiagnosticAnalysis
Microsoft.CodeAnalysis (3)
DiagnosticAnalyzer\AnalyzerDriver.cs (3)
1888
return model.
GetTopmostNodeForDiagnosticAnalysis
(symbol, syntaxReference.GetSyntax(cancellationToken));
2546
SyntaxNode topmostNodeForAnalysis = semanticModel.
GetTopmostNodeForDiagnosticAnalysis
(symbol, declaringReferenceSyntax);
2877
declarationNodeToSkip = semanticModel.
GetTopmostNodeForDiagnosticAnalysis
(declaredSymbolOfDeclInNode, declInNode.DeclaredNode);