9 references to GetDocument
Microsoft.VisualStudio.LanguageServices.Implementation (9)
CodeModel\FileCodeModel.cs (8)
339var document = GetDocument(); 363var document = GetDocument(); 427return GetDocument().GetRequiredSyntaxTreeSynchronously(CancellationToken.None); 432return GetDocument().GetRequiredSyntaxRootSynchronously(CancellationToken.None); 438return GetDocument() 445return GetDocument() 452return GetDocument().Project 553var line = GetDocument().GetTextSynchronously(CancellationToken.None).Lines[lineNumber];
CodeModel\InternalElements\AbstractCodeElement.cs (1)
45=> FileCodeModel.GetDocument();