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