14 references to GetDocumentId
Microsoft.VisualStudio.LanguageServices.Implementation (6)
CodeModel\FileCodeModel.cs (5)
51
/// Don't use directly. Instead, call <see cref="
GetDocumentId
()"/>.
292
_invisibleEditor = Workspace.OpenInvisibleEditor(
GetDocumentId
());
420
() => Workspace.CurrentSolution.GetSourceGeneratedDocumentAsync(
GetDocumentId
(), CancellationToken.None).AsTask());
424
document = Workspace.CurrentSolution.GetDocument(
GetDocumentId
());
462
=>
GetDocumentId
().ProjectId;
CodeModel\FileCodeModel_Events.cs (1)
64
if (!projectCodeModel.TryGetCachedFileCodeModel(this.Workspace.GetFilePath(
GetDocumentId
()), out _))
Microsoft.VisualStudio.LanguageServices.UnitTests (8)
CodeModel\CSharp\RootCodeModelTests.vb (4)
178
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
215
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
260
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
305
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
CodeModel\VisualBasic\RootCodeModelTests.vb (4)
113
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
148
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
189
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())
230
Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.
GetDocumentId
())