9 references to GetOpenDocumentInCurrentContext
Microsoft.CodeAnalysis.EditorFeatures (7)
AddImports\AbstractAddImportsPasteCommandHandler.cs (1)
116var document = sourceTextContainer.GetOpenDocumentInCurrentContext();
EncapsulateField\AbstractEncapsulateFieldCommandHandler.cs (1)
47var document = args.SubjectBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
InlineDiagnostics\InlineDiagnosticsAdornmentManager.cs (1)
62var document = TextView.TextBuffer.AsTextContainer()?.GetOpenDocumentInCurrentContext();
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
94_document = snapshotForDocument?.TextBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
NavigationBar\NavigationBarController.cs (1)
257var document = textContainer.GetOpenDocumentInCurrentContext();
Shared\Extensions\ITextSnapshotExtensions.cs (1)
64var document = snapshot.TextBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
Shared\Tagging\EventSources\TaggerEventSources.DocumentActiveContextChangedEventSource.cs (1)
24var document = SubjectBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
Microsoft.VisualStudio.LanguageServices (2)
Snippets\AbstractSnippetCommandHandler.cs (1)
329var document = args.SubjectBuffer.AsTextContainer().GetOpenDocumentInCurrentContext();
ValueTracking\ValueTrackingCommandHandler.cs (1)
93var document = sourceTextContainer.GetOpenDocumentInCurrentContext();