2 writes to _textBuffer
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Workspaces\EditorTestHostDocument.cs (2)
77_textBuffer = textBuffer; 151_textBuffer = workspace!.GetOrCreateBufferForPath(FilePath, contentType, LanguageServiceProvider.Language, InitialText);
7 references to _textBuffer
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (7)
Workspaces\EditorTestHostDocument.cs (7)
146if (_textBuffer == null) 152_initialTextSnapshot = _textBuffer.CurrentSnapshot; 171workspace.OnSourceGeneratedDocumentOpened(_textBuffer.AsTextContainer(), document); 176workspace.OnDocumentOpened(linkedId, _textBuffer.AsTextContainer(), isCurrentContext: !testDocument.IsLinkFile); 181workspace.OnAdditionalDocumentOpened(linkedId, _textBuffer.AsTextContainer()); 185workspace.OnAnalyzerConfigDocumentOpened(linkedId, _textBuffer.AsTextContainer()); 190return _textBuffer;