5 references to GetTextBuffer
Microsoft.CodeAnalysis.EditorFeatures (2)
Interactive\InteractiveWorkspace.cs (1)
45
using (var edit = _openTextContainer.
GetTextBuffer
().CreateEdit(EditOptions.DefaultMinimalChange, reiteratedVersionNumber: null, editTag: null))
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (1)
91
var textBuffer = text.Container.
GetTextBuffer
();
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Extensions.SnapshotSourceText.cs (1)
102
Contract.ThrowIfFalse(editorSnapshot.TextBuffer == container.
GetTextBuffer
());
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Extensions\SourceTextContainerExtensionsTests.cs (1)
20
Assert.Throws<ArgumentException>(() => Microsoft.CodeAnalysis.Text.Extensions.
GetTextBuffer
(containerMock.Object));
Microsoft.VisualStudio.LanguageServices (1)
ProjectSystem\MiscellaneousFilesWorkspace.cs (1)
327
TextEditApplication.UpdateText(newText, textContainer.
GetTextBuffer
(), EditOptions.DefaultMinimalChange);