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()); 424document = Workspace.CurrentSolution.GetDocument(GetDocumentId()); 462=> GetDocumentId().ProjectId;
CodeModel\FileCodeModel_Events.cs (1)
64if (!projectCodeModel.TryGetCachedFileCodeModel(this.Workspace.GetFilePath(GetDocumentId()), out _))
Microsoft.VisualStudio.LanguageServices.UnitTests (8)
CodeModel\CSharp\RootCodeModelTests.vb (4)
178Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 215Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 260Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 305Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId())
CodeModel\VisualBasic\RootCodeModelTests.vb (4)
113Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 148Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 189Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId()) 230Dim filePath = underlyingFileCodeModel.Workspace.GetFilePath(underlyingFileCodeModel.GetDocumentId())