6 references to Extensions
Microsoft.CodeAnalysis.EditorFeatures (2)
Shared\Extensions\ITextSnapshotExtensions.cs (2)
53
/// Get <see cref="Document"/> from <see cref="Text.
Extensions
.GetOpenDocumentInCurrentContextWithChanges(ITextSnapshot)"/>
88
/// Get <see cref="Document"/> from <see cref="Text.
Extensions
.GetOpenDocumentInCurrentContextWithChanges(ITextSnapshot)"/>
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
ExternalAccess\VSTypeScript\Api\VSTypeScriptTextBufferExtensions.cs (1)
13
=> Text.
Extensions
.TextBufferContainer.From(buffer);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (3)
Extensions\SourceTextContainerExtensionsTests.cs (3)
20
Assert.Throws<ArgumentException>(() => Microsoft.CodeAnalysis.Text.
Extensions
.GetTextBuffer(containerMock.Object));
35
var textContainer = CodeAnalysis.Text.
Extensions
.TextBufferContainer.From(bufferMock.Object);
37
CodeAnalysis.Text.
Extensions
.GetTextBuffer(textContainer);