Implemented interface member:
method
IsDefinedInSourceTree
Microsoft.CodeAnalysis.Symbols.ISymbolInternal.IsDefinedInSourceTree(Microsoft.CodeAnalysis.SyntaxTree, Microsoft.CodeAnalysis.Text.TextSpan?, System.Threading.CancellationToken)
5 overrides of IsDefinedInSourceTree
Microsoft.CodeAnalysis.CSharp (5)
Symbols\Source\SourceFieldSymbol.cs (1)
228
public override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1032
public override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
Symbols\Source\SourceNamespaceSymbol.cs (1)
459
public override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default(CancellationToken))
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
451
public sealed override bool
IsDefinedInSourceTree
(
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
254
public override bool
IsDefinedInSourceTree
(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
7 references to IsDefinedInSourceTree
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (1)
3097
if (symbol.
IsDefinedInSourceTree
(tree, span))
Compiler\ClsComplianceChecker.cs (1)
978
return _filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree);
Compiler\DocumentationCommentCompiler.cs (2)
221
if (_filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree))
392
if (_filterTree != null && !symbol.
IsDefinedInSourceTree
(_filterTree, _filterSpanWithinTree))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1037
return ContainingSymbol.
IsDefinedInSourceTree
(tree, definedWithinSpan, cancellationToken);
Symbols\Symbol.cs (2)
938
return this.ContainingSymbol.
IsDefinedInSourceTree
(tree, definedWithinSpan, cancellationToken);
961
if ((locationOpt == null || member.
IsDefinedInSourceTree
(locationOpt.SourceTree, locationOpt.SourceSpan, cancellationToken))