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