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)
228public override bool IsDefinedInSourceTree(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default)
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1032public override bool IsDefinedInSourceTree(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
Symbols\Source\SourceNamespaceSymbol.cs (1)
459public override bool IsDefinedInSourceTree(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken = default(CancellationToken))
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
451public sealed override bool IsDefinedInSourceTree(
Symbols\Synthesized\SynthesizedSimpleProgramEntryPointSymbol.cs (1)
254public override bool IsDefinedInSourceTree(SyntaxTree tree, TextSpan? definedWithinSpan, CancellationToken cancellationToken)
7 references to IsDefinedInSourceTree
Microsoft.CodeAnalysis.CSharp (7)
Compilation\CSharpCompilation.cs (1)
3097if (symbol.IsDefinedInSourceTree(tree, span))
Compiler\ClsComplianceChecker.cs (1)
978return _filterTree != null && !symbol.IsDefinedInSourceTree(_filterTree, _filterSpanWithinTree);
Compiler\DocumentationCommentCompiler.cs (2)
221if (_filterTree != null && !symbol.IsDefinedInSourceTree(_filterTree, _filterSpanWithinTree)) 392if (_filterTree != null && !symbol.IsDefinedInSourceTree(_filterTree, _filterSpanWithinTree))
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1037return ContainingSymbol.IsDefinedInSourceTree(tree, definedWithinSpan, cancellationToken);
Symbols\Symbol.cs (2)
938return this.ContainingSymbol.IsDefinedInSourceTree(tree, definedWithinSpan, cancellationToken); 961if ((locationOpt == null || member.IsDefinedInSourceTree(locationOpt.SourceTree, locationOpt.SourceSpan, cancellationToken))