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