3 overrides of Root
Microsoft.CodeAnalysis.CSharp (3)
Compilation\MemberSemanticModel.cs (1)
73
internal override CSharpSyntaxNode
Root
Compilation\SpeculativeSemanticModelWithMemberModel.cs (1)
127
internal override CSharpSyntaxNode
Root
=> _memberModel.Root;
Compilation\SyntaxTreeSemanticModel.cs (1)
75
internal override CSharpSyntaxNode
Root
13 references to Root
Microsoft.CodeAnalysis.CSharp (13)
Compilation\CSharpSemanticModel.cs (13)
437
SyntaxToken token =
Root
.FindToken(position);
793
var existingConstructorInitializer = this.
Root
.FindToken(position).Parent.AncestorsAndSelf().OfType<ConstructorInitializerSyntax>().FirstOrDefault();
865
var existingConstructorInitializer = this.
Root
.FindToken(position).Parent.AncestorsAndSelf().OfType<PrimaryConstructorBaseTypeSyntax>().FirstOrDefault();
1274
int fullStart = this.
Root
.Position;
1275
int fullEnd = this.
Root
.FullSpan.End;
1280
token = (atEOF ? (CSharpSyntaxNode)this.SyntaxTree.GetRoot() :
Root
).FindTokenIncludingCrefAndNameAttributes(position);
1303
string.Format(CSharpResources.PositionIsNotWithinSyntax,
Root
.FullSpan));
1314
var fullSpan = this.
Root
.FullSpan;
1752
Symbol singleSymbol = binder.ResultSymbol(lookupResult, name, arity, this.
Root
, BindingDiagnosticBag.Discarded, true, out wasError, container, options);
1843
var token = this.
Root
.FindToken(position);
1845
while (curr != this.
Root
)
4941
protected sealed override SyntaxNode RootCore => this.
Root
;
5434
var syntaxTree = (CSharpSyntaxTree)
Root
.SyntaxTree;