2 instantiations of DisposableTextView
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
TextEditorFactoryExtensions.cs (2)
17=> new DisposableTextView(textEditorFactory.CreateTextView()); 38return new DisposableTextView(textEditorFactory.CreateTextView(buffer, roleSet));
10 references to DisposableTextView
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (6)
AbstractCommandHandlerTestState.cs (1)
32private readonly DisposableTextView? _createdTextView;
EditorFactory.cs (3)
40public static DisposableTextView CreateView( 48public static DisposableTextView CreateView( 59public static DisposableTextView CreateView(
TextEditorFactoryExtensions.cs (2)
16public static DisposableTextView CreateDisposableTextView(this ITextEditorFactoryService textEditorFactory) 19public static DisposableTextView CreateDisposableTextView(this ITextEditorFactoryService textEditorFactory, ITextBuffer buffer, ImmutableArray<string> roles = default)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (2)
CommentSelection\CommentUncommentSelectionCommandHandlerTests.cs (2)
166using var disposableView = EditorFactory.CreateView(exportProvider, code); 731using var disposableView = EditorFactory.CreateView(exportProvider, code);
Microsoft.VisualStudio.LanguageServices.UnitTests (2)
Preview\PreviewChangesTests.vb (2)
150Using disposableView As DisposableTextView = textEditorFactory.CreateDisposableTextView() 215Using disposableView As DisposableTextView = textEditorFactory.CreateDisposableTextView()