1 implementation of ITextBufferCloneService
Microsoft.CodeAnalysis.EditorFeatures.Text (1)
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
15internal sealed class TextBufferCloneService : ITextBufferCloneService
16 references to ITextBufferCloneService
Microsoft.CodeAnalysis.EditorFeatures.Text (16)
Extensions.cs (4)
41textSnapshot.TextBuffer.Properties.TryGetProperty<ITextBufferCloneService>(typeof(ITextBufferCloneService), out var textBufferCloneServiceOpt); 45internal static SourceText AsRoslynText(this ITextSnapshot textSnapshot, ITextBufferCloneService textBufferCloneServiceOpt, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm)
Extensions.SnapshotSourceText.cs (9)
33private readonly ITextBufferCloneService? _textBufferCloneService; 38private SnapshotSourceText(ITextBufferCloneService? textBufferCloneService, ITextSnapshot editorSnapshot, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, TextBufferContainer container) 49public SnapshotSourceText(ITextBufferCloneService? textBufferCloneService, ITextImage textImage, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm, TextBufferContainer? container) 71public static SourceText From(ITextBufferCloneService? textBufferCloneService, ITextSnapshot editorSnapshot) 85var tempTextBufferCloneService = textBufferCloneService; 95internal static SourceText From(ITextBufferCloneService? textBufferCloneService, ITextSnapshot editorSnapshot, TextBufferContainer container) 198var factory = _textBufferCloneService; 267public ClosedSnapshotSourceText(ITextBufferCloneService? textBufferCloneService, ITextImage textImage, Encoding? encoding, SourceHashAlgorithm checksumAlgorithm) 281public ChangedSourceText(ITextBufferCloneService? textBufferCloneService, SnapshotSourceText baseText, ITextSnapshot baseSnapshot, ITextSnapshot currentSnapshot)
Extensions.TextBufferContainer.cs (2)
23private readonly ITextBufferCloneService? _textBufferCloneService; 33editorBuffer.Properties.TryGetProperty(typeof(ITextBufferCloneService), out _textBufferCloneService);
Implementation\TextBufferFactoryService\TextBufferCloneServiceFactory.cs (1)
14[Export(typeof(ITextBufferCloneService)), Shared]