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