Base:
property
Root
Microsoft.CodeAnalysis.CSharp.CSharpSemanticModel.Root
1 override of Root
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SpeculativeSyntaxTreeSemanticModel.cs (1)
83
internal override CSharpSyntaxNode
Root
6 references to Root
Microsoft.CodeAnalysis.CSharp (6)
Compilation\SyntaxTreeSemanticModel.cs (6)
108
if (span.HasValue && !this.
Root
.FullSpan.Contains(span.Value))
151
SyntaxToken token = this.
Root
.FindTokenIncludingCrefAndNameAttributes(position);
157
return _binderFactory.GetBinder(this.
Root
, position).WithAdditionalFlags(GetSemanticModelBinderFlags());
704
var existingConstructorInitializer = this.
Root
.FindToken(position).Parent.AncestorsAndSelf().OfType<ConstructorInitializerSyntax>().FirstOrDefault();
723
var existingConstructorInitializer = this.
Root
.FindToken(position).Parent.AncestorsAndSelf().OfType<PrimaryConstructorBaseTypeSyntax>().FirstOrDefault();
780
CSharpSyntaxNode node = (CSharpSyntaxNode)
Root
.FindTokenIncludingCrefAndNameAttributes(position).Parent;