Base:
property
SyntaxTree
Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.SyntaxTree
16 references to SyntaxTree
Microsoft.CodeAnalysis.CSharp (16)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
59var attributedNode = model.SyntaxTree.GetRoot().FindToken(position).Parent;
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
50: base(parentSemanticModel.Compilation, parentSemanticModel.SyntaxTree, root.SyntaxTree, parentSemanticModel.Options)
Compilation\SyntaxTreeSemanticModel.cs (14)
50_binderFactory = compilation.GetBinderFactory(SyntaxTree, (options & SemanticModelOptions.IgnoreAccessibility) != 0); 118CompilationStage.Parse, this.SyntaxTree, span, includeEarlierStages: false, cancellationToken: cancellationToken); 125CompilationStage.Declare, this.SyntaxTree, span, includeEarlierStages: false, cancellationToken: cancellationToken); 132CompilationStage.Compile, this.SyntaxTree, span, includeEarlierStages: false, cancellationToken: cancellationToken); 139CompilationStage.Compile, this.SyntaxTree, span, includeEarlierStages: true, cancellationToken: cancellationToken); 768Debug.Assert(speculativeSyntax.SyntaxTree != SyntaxTree); 774Compilation.IsNullableAnalysisEnabledIn((CSharpSyntaxTree)SyntaxTree, new TextSpan(position, 0)); 1299return this.SyntaxTree.Options.Kind == SourceCodeKind.Regular; 1771Debug.Assert(knownNamespace.HasLocationContainedWithin(SyntaxTree, declarationSpan, out _), "Namespace symbols should include all syntax declaration locations."); 1793if (symbol.HasLocationContainedWithin(this.SyntaxTree, declarationSpan, out var wasZeroWidthMatch)) 1813if (loc.IsInSource && loc.SourceTree == this.SyntaxTree && declarationSpan.Contains(loc.SourceSpan)) 2180if (location.SourceTree == this.SyntaxTree && parameter.Span.Contains(location.SourceSpan)) 2310if (this.SyntaxTree.Options.Kind != SourceCodeKind.Regular) 2395if (location.SourceTree != this.SyntaxTree)