Base:
property
SourceTree
Microsoft.CodeAnalysis.Location.SourceTree
12 references to SourceTree
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder_Invocation.cs (2)
1376
int line = callerSourceLocation.
SourceTree
.GetDisplayLineNumber(callerSourceLocation.SourceSpan);
1381
string path = callerSourceLocation.
SourceTree
.GetDisplayPath(callerSourceLocation.SourceSpan, Compilation.Options.SourceReferenceResolver);
Declarations\SingleTypeDeclaration.cs (2)
244
if ((object)thisDecl.Location.
SourceTree
!= otherDecl.Location.
SourceTree
Symbols\NamespaceOrTypeSymbol.cs (1)
217
if (loc.IsInSource && loc.
SourceTree
== syntax.SyntaxTree && syntax.Span.Contains(loc.SourceSpan))
Symbols\Source\SourceAssemblySymbol.cs (1)
1549
var tree = rootNs.Location.
SourceTree
;
Symbols\Source\SourceMemberContainerSymbol.cs (1)
838
internal SyntaxTree AssociatedSyntaxTree => declaration.Declarations[0].Location.
SourceTree
;
Symbols\Source\SourceNamespaceSymbol.cs (2)
414
var leftTree = possibleFileLocalType.MergedDeclaration.Declarations[0].Location.
SourceTree
;
415
if (otherSymbol.MergedDeclaration.NameLocations.Any((loc, leftTree) => (object)loc.
SourceTree
== leftTree, leftTree))
Symbols\Source\SourceNamespaceSymbol_Completion.cs (1)
35
if (locationOpt == null || locationOpt.
SourceTree
== declaration.SyntaxReference.SyntaxTree)
Symbols\Symbol.cs (1)
824
if (locationOpt == null || member.IsDefinedInSourceTree(locationOpt.
SourceTree
, locationOpt.SourceSpan, cancellationToken))
Microsoft.CodeAnalysis.VisualBasic (1)
Compilation\DocumentationComments\DocumentationCommentCompiler.Includes.vb (1)
548
loc.Kind = LocationKind.SourceFile AndAlso DirectCast(loc, SourceLocation).
SourceTree
Is Me._onlyDiagnosticsFromTree AndAlso