16 references to GetDocumentIdInCurrentContext
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Workspaces\WorkspaceTests_EditorFeatures.cs (1)
884var sourceGeneratedDocumentId = workspace.GetDocumentIdInCurrentContext(document.GetOpenTextContainer());
Microsoft.CodeAnalysis.EditorFeatures (3)
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (2)
273var bufferDocumentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer()); 291var documentId = _workspace.GetDocumentIdInCurrentContext(_subjectBuffer.AsTextContainer());
Shared\Tagging\EventSources\TaggerEventSources.ParseOptionChangedEventSource.cs (1)
33var documentId = workspace.GetDocumentIdInCurrentContext(SubjectBuffer.AsTextContainer());
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Completion\AbstractCompletionProviderTests.cs (1)
899var currentContextDocumentId = testWorkspace.GetDocumentIdInCurrentContext(textContainer);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Suggestions\SuggestedActionWithNestedFlavors.cs (1)
158var preferredDocumentId = Workspace.GetDocumentIdInCurrentContext(SubjectBuffer.AsTextContainer());
Microsoft.CodeAnalysis.Workspaces (6)
Workspace\TextExtensions.cs (4)
23var documentId = workspace.GetDocumentIdInCurrentContext(text.Container); 64var id = workspace.GetDocumentIdInCurrentContext(text.Container); 111var documentId = workspace.GetDocumentIdInCurrentContext(container); 130var id = workspace.GetDocumentIdInCurrentContext(container);
Workspace\Workspace_Editor.cs (2)
222var documentId = GetDocumentIdInCurrentContext(container); 255/// <see cref="GetDocumentIdInCurrentContext(SourceTextContainer)"/> would return for the
Microsoft.VisualStudio.LanguageServices (4)
Implementation\VisualStudioSupportsFeatureService.cs (2)
58var documentId = workspace.GetDocumentIdInCurrentContext(sourceTextContainer); 74return vsWorkspace.GetDocumentIdInCurrentContext(sourceTextContainer);
Workspace\VisualStudioActiveDocumentTracker.cs (1)
244return workspace.GetDocumentIdInCurrentContext(textContainer);
Workspace\VisualStudioTextUndoHistoryWorkspaceServiceFactory.cs (1)
49var documentId = editorWorkspace.GetDocumentIdInCurrentContext(textBuffer.AsTextContainer());