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