15 references to GetSyntaxRoot
Microsoft.VisualStudio.LanguageServices.Implementation (15)
CodeModel\AbstractCodeModelService.cs (1)
370parentNode = fileCodeModel.GetSyntaxRoot();
CodeModel\Collections\NamespaceCollection.cs (1)
66return FileCodeModel.GetSyntaxRoot();
CodeModel\FileCodeModel.cs (9)
466return AddAttribute(GetSyntaxRoot(), name, value, position, target: CodeModelService.AssemblyAttributeString); 474return AddClass(GetSyntaxRoot(), name, position, bases, implementedInterfaces, access); 482return AddDelegate(GetSyntaxRoot(), name, type, position, access); 490return AddEnum(GetSyntaxRoot(), name, position, bases, access); 501return AddImport(GetSyntaxRoot(), name, position, alias); 509return AddInterface(GetSyntaxRoot(), name, position, bases, access); 517return AddNamespace(GetSyntaxRoot(), name, position); 525return AddStruct(GetSyntaxRoot(), name, position, bases, implementedInterfaces, access); 561var root = GetSyntaxRoot();
CodeModel\FileCodeModel_Events.cs (1)
268parentNode = fileCodeModel.GetSyntaxRoot();
CodeModel\InternalElements\CodeAttribute.cs (1)
56: FileCodeModel.GetSyntaxRoot();
CodeModel\InternalElements\CodeImport.cs (1)
73: FileCodeModel.GetSyntaxRoot();
CodeModel\InternalElements\CodeOptionsStatement.cs (1)
69var parentNode = this.FileCodeModel.GetSyntaxRoot();