Base:
property
SyntaxTree
Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.SyntaxTree
16 references to SyntaxTree
Microsoft.CodeAnalysis.CSharp (16)
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
59
var 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);
118
CompilationStage.Parse, this.
SyntaxTree
, span, includeEarlierStages: false, cancellationToken: cancellationToken);
125
CompilationStage.Declare, this.
SyntaxTree
, span, includeEarlierStages: false, cancellationToken: cancellationToken);
132
CompilationStage.Compile, this.
SyntaxTree
, span, includeEarlierStages: false, cancellationToken: cancellationToken);
139
CompilationStage.Compile, this.
SyntaxTree
, span, includeEarlierStages: true, cancellationToken: cancellationToken);
768
Debug.Assert(speculativeSyntax.SyntaxTree !=
SyntaxTree
);
774
Compilation.IsNullableAnalysisEnabledIn((CSharpSyntaxTree)
SyntaxTree
, new TextSpan(position, 0));
1299
return this.
SyntaxTree
.Options.Kind == SourceCodeKind.Regular;
1771
Debug.Assert(knownNamespace.HasLocationContainedWithin(
SyntaxTree
, declarationSpan, out _), "Namespace symbols should include all syntax declaration locations.");
1793
if (symbol.HasLocationContainedWithin(this.
SyntaxTree
, declarationSpan, out var wasZeroWidthMatch))
1813
if (loc.IsInSource && loc.SourceTree == this.
SyntaxTree
&& declarationSpan.Contains(loc.SourceSpan))
2180
if (location.SourceTree == this.
SyntaxTree
&& parameter.Span.Contains(location.SourceSpan))
2310
if (this.
SyntaxTree
.Options.Kind != SourceCodeKind.Regular)
2395
if (location.SourceTree != this.
SyntaxTree
)