5 overrides of IsDefinedInSourceTree
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
989
internal override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
Symbols\Source\SourceMemberFieldSymbol.cs (1)
629
internal override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default(CancellationToken))
Symbols\Source\SourceNamespaceSymbol.cs (1)
480
internal override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default(CancellationToken))
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
615
internal override bool
IsDefinedInSourceTree
(
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
255
internal override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
8 references to IsDefinedInSourceTree
Microsoft.CodeAnalysis.CSharp (8)
Compilation\CSharpCompilation.cs (1)
2806
if (symbol.
IsDefinedInSourceTree
(tree, span))
Compiler\ClsComplianceChecker.cs (1)
971
return _filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree);
Compiler\DocumentationCommentCompiler.cs (2)
222
if (_filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree))
253
if (_filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
994
return ContainingSymbol.
IsDefinedInSourceTree
(tree, definedWithinSpan, cancellationToken);
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
623
base.
IsDefinedInSourceTree
(tree, definedWithinSpan, cancellationToken) ||
Symbols\Symbol.cs (2)
805
return this.ContainingSymbol.
IsDefinedInSourceTree
(tree, definedWithinSpan, cancellationToken);
824
if (locationOpt == null || member.
IsDefinedInSourceTree
(locationOpt.SourceTree, locationOpt.SourceSpan, cancellationToken))