127 references to GetOpenDocumentInCurrentContextWithChanges
Microsoft.CodeAnalysis.CSharp.EditorFeatures (15)
BlockCommentEditing\BlockCommentEditingCommandHandler.cs (1)
278var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
CompleteStatement\CompleteStatementCommandHandler.cs (1)
101var document = caret.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
ConvertNamespace\ConvertNamespaceCommandHandler.cs (1)
123var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
EventHookup\EventHookupCommandHandler_TabKeyCommand.cs (2)
127var document = textView.TextSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 299var document = textView.TextSnapshot.GetOpenDocumentInCurrentContextWithChanges();
EventHookup\EventHookupSessionManager_EventHookupSession.cs (1)
115var document = textView.TextSnapshot.GetOpenDocumentInCurrentContextWithChanges();
FixInterpolatedVerbatimString\FixInterpolatedVerbatimStringCommandHandler.cs (1)
75var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
RawStringLiteral\RawStringLiteralCommandHandler_Return.cs (1)
87var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
RawStringLiteral\RawStringLiteralCommandHandler_TypeChar.cs (3)
109var document = snapshot.GetOpenDocumentInCurrentContextWithChanges(); 161var document = snapshot.GetOpenDocumentInCurrentContextWithChanges(); 210var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
SplitStringLiteral\SplitStringLiteralCommandHandler.cs (1)
85var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
StringCopyPaste\StringCopyPasteCommandHandler.cs (2)
127var documentBeforePaste = snapshotBeforePaste.GetOpenDocumentInCurrentContextWithChanges(); 128var documentAfterPaste = snapshotAfterPaste.GetOpenDocumentInCurrentContextWithChanges();
StringCopyPaste\StringCopyPasteCommandHandler_CutCopy.cs (1)
63var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Intents\IntentTestsBase.cs (1)
120var currentDocument = currentTextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.EditorFeatures (56)
AutomaticCompletion\AbstractAutomaticLineEnderCommandHandler.cs (1)
84var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
AutomaticCompletion\BraceCompletionSessionProvider.BraceCompletionSession.cs (2)
104var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 396var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
AutomaticCompletion\BraceCompletionSessionProvider.cs (1)
60var document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Classification\CopyPasteAndPrintingClassificationBufferTaggerProvider.Tagger.cs (1)
113var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Classification\Syntactic\SyntacticClassificationTaggerProvider.TagComputer.cs (1)
279var currentDocument = currentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
CodeDefinitionWindow\DefinitionContextTracker.cs (1)
140var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
CommentSelection\AbstractCommentSelectionBase.cs (1)
103var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
DocumentationComments\AbstractDocumentationCommentCommandHandler.cs (6)
88var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 203var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 257var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 290var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 312var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 347var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
DocumentationComments\AbstractXmlTagCompletionCommandHandler.cs (1)
68var document = buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Editor\GoToAdjacentMemberCommandHandler.cs (2)
64var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 82var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
ExternalAccess\IntelliCode\IntentProcessor.cs (1)
53var currentDocument = intentRequestContext.CurrentSnapshotSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
ExtractMethod\ExtractMethodCommandHandler.cs (2)
112var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 203document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges();
FindReferences\FindReferencesCommandHandler.cs (1)
93var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Formatting\FormatCommandHandler.cs (1)
138var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Formatting\FormatCommandHandler.FormatDocument.cs (1)
25var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Formatting\FormatCommandHandler.FormatSelection.cs (1)
31var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Formatting\FormatCommandHandler.Paste.cs (1)
63var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
GoToDefinition\GoToDefinitionCommandHandler.cs (1)
57var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
InlineRename\CommandHandlers\AbstractRenameCommandHandler_TypeCharHandler.cs (1)
24var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
InlineRename\InlineRenameSession.cs (2)
151_triggerDocument = triggerSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 712var document = textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
IntelliSense\AsyncCompletion\CommitManager.cs (3)
105var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 151var triggerDocument = itemData.TriggerLocation.Value.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 297var currentDocument = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
IntelliSense\AsyncCompletion\CompletionSource.cs (4)
109var document = triggerLocation.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 231var document = triggerLocation.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 409var document = initialTriggerLocation.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 518var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
IntelliSense\QuickInfo\QuickInfoSourceProvider.QuickInfoSource.cs (1)
75var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Interactive\SendToInteractiveSubmissionProvider.cs (1)
70var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Organizing\OrganizeDocumentCommandHandler.cs (1)
141var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
RenameTracking\RenameTrackingCancellationCommandHandler.cs (1)
40var document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (2)
78var document = _snapshotSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 124var document = _snapshotSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (3)
235var document = _buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 354var document = _buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 368var document = _buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
RenameTracking\RenameTrackingTaggerProvider.TrackingSession.cs (1)
156var document = snapshotSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
Shared\Extensions\ITextSnapshotExtensions.cs (4)
35var document = textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 57/// Get <see cref="Document"/> from <see cref="Text.Extensions.GetOpenDocumentInCurrentContextWithChanges(ITextSnapshot)"/> 87return snapshot.GetOpenDocumentInCurrentContextWithChanges(); 92/// Get <see cref="Document"/> from <see cref="Text.Extensions.GetOpenDocumentInCurrentContextWithChanges(ITextSnapshot)"/>
SmartIndent\SmartIndent.cs (1)
43var document = line.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
SpellCheck\RoslynSpellCheckFixerProvider.cs (1)
84var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
SplitComment\SplitCommentCommandHandler.cs (1)
73var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Tagging\AbstractAsynchronousTaggerProvider.TagSource_ProduceTags.cs (1)
280document = span.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
Tagging\CompilationAvailableTaggerEventSource.cs (1)
83var document = _subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
TextStructureNavigation\AbstractTextStructureNavigatorProvider.TextStructureNavigator.cs (1)
301return point.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.EditorFeatures.Cocoa (8)
CommandHandlers\GoToMatchingBraceCommandHandler.cs (1)
43var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Controller.cs (1)
131var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
NavigableSymbolService.NavigableSymbolSource.cs (1)
44var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
NavigationCommandHandlers\AbstractNavigationCommandHandler.cs (1)
48var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\AbstractSnippetCommandHandler.cs (1)
249var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\AbstractSnippetExpansionClient.cs (1)
153var document = this.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (1)
27document = _subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
SuggestedAction.cs (1)
168var document = this.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
TextEditor\OpenDocumentTests.cs (2)
59var newDocumentWithChanges = buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 68var originalDocumentWithChanges = originalSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (6)
InlineHints\InlineHintsTag.cs (1)
101var document = _span.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
InlineHints\InlineHintsTagger.cs (1)
169var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
NavigableSymbols\NavigableSymbolService.NavigableSymbolSource.cs (1)
44var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Peek\PeekableItemSource.cs (1)
60var document = triggerPoint.Value.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
SignatureHelp\Controller.cs (1)
131var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Suggestions\SuggestedActions\SuggestedAction.cs (1)
168var document = this.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
IntelliSense\CSharpCompletionCommandHandlerTests_HandleNonRoslynCompletionSources.vb (1)
100Dim document = triggerLocation.Snapshot.GetOpenDocumentInCurrentContextWithChanges()
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
Internal\Editor\FSharpSmartIndentProvider.cs (1)
77var document = line.Snapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (15)
AutomaticEndConstructCorrection\AutomaticEndConstructCorrector.vb (1)
67_previousDocument = e.Before.GetOpenDocumentInCurrentContextWithChanges()
EndConstructGeneration\EndConstructCommandHandler.vb (2)
76Dim document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges() 109Dim document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges()
EndConstructGeneration\ReplaceSpanResult.vb (1)
35Dim document = current.GetOpenDocumentInCurrentContextWithChanges()
EndConstructGeneration\SpitLinesResult.vb (1)
38Dim document = current.GetOpenDocumentInCurrentContextWithChanges()
EndConstructGeneration\VisualBasicEndConstructGenerationService.vb (2)
149Dim document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges() 332Dim document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges()
LineCommit\CommitBufferManager.vb (4)
165Dim document = snapshotSpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges() 175Dim document = dirtySpan.Snapshot.GetOpenDocumentInCurrentContextWithChanges() 229Dim document = newPoint.Snapshot.GetOpenDocumentInCurrentContextWithChanges() 254Dim documentBeforePreviousEdit = e.Before.GetOpenDocumentInCurrentContextWithChanges()
LineCommit\CommitCommandHandler.vb (2)
197Dim document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges() 241Dim document = args.SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges()
Utilities\CommandHandlers\AbstractImplementAbstractClassOrInterfaceCommandHandler.vb (2)
90Dim document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges() 126Dim document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges()
Microsoft.VisualStudio.LanguageServices (20)
CodeCleanup\AbstractCodeCleanUpFixer.cs (2)
192var document = buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 205var document = buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
DebuggerIntelliSense\AbstractDebuggerIntelliSenseContext.cs (1)
127var document = ContextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Implementation\AbstractVsTextViewFilter.cs (2)
113var document = textSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 199var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
InheritanceMargin\InheritanceMarginViewMarginProvider.cs (1)
76var document = wpfTextViewHost.TextView.TextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Interactive\VsResetInteractive.cs (1)
308var document = interactiveWindow.CurrentLanguageBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
LanguageService\AbstractLanguageService`2.IVsLanguageBlock.cs (1)
73var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
LanguageService\AbstractLanguageService`2.IVsLanguageContextProvider.cs (1)
30var document = textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
LanguageService\AbstractLanguageService`2.IVsLanguageTextOps.cs (1)
50var document = textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
LanguageService\AbstractLanguageService`2.VsLanguageDebugInfo.cs (2)
98var document = point.Snapshot.GetOpenDocumentInCurrentContextWithChanges(); 160var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\AbstractSnippetCommandHandler.cs (1)
277var document = subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\AbstractSnippetExpansionClient.cs (4)
537var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 733var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 809var document = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 1061var documentWithImports = SubjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Snippets\SnippetFunctions\AbstractSnippetFunction.cs (1)
34document = _subjectBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Venus\ContainedLanguage.IVsContainedCode.cs (1)
53var document = snapshot.GetOpenDocumentInCurrentContextWithChanges();
Workspace\SourceGeneratedFileManager.cs (1)
286var sourceGeneratedDocument = (SourceGeneratedDocument?)_textBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.VisualStudio.LanguageServices.New.IntegrationTests (1)
InProcess\EditorInProcess.cs (1)
109return view.TextBuffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges();
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Snippets\SnippetCommandHandler.vb (1)
118Dim document = currentSnapshot.GetOpenDocumentInCurrentContextWithChanges()