15 references to GetSyntaxRoot
Microsoft.VisualStudio.LanguageServices.Implementation (15)
CodeModel\AbstractCodeModelService.cs (1)
371parentNode = fileCodeModel.GetSyntaxRoot();
CodeModel\Collections\NamespaceCollection.cs (1)
67return FileCodeModel.GetSyntaxRoot();
CodeModel\FileCodeModel.cs (9)
471return AddAttribute(GetSyntaxRoot(), name, value, position, target: CodeModelService.AssemblyAttributeString); 479return AddClass(GetSyntaxRoot(), name, position, bases, implementedInterfaces, access); 487return AddDelegate(GetSyntaxRoot(), name, type, position, access); 495return AddEnum(GetSyntaxRoot(), name, position, bases, access); 506return AddImport(GetSyntaxRoot(), name, position, alias); 514return AddInterface(GetSyntaxRoot(), name, position, bases, access); 522return AddNamespace(GetSyntaxRoot(), name, position); 530return AddStruct(GetSyntaxRoot(), name, position, bases, implementedInterfaces, access); 566var 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();