3 writes to _workspace
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (3)
Workspaces\TestWorkspaceFixture.cs (3)
28
_workspace
??= CreateWorkspace(composition);
42
_workspace
= EditorTestWorkspace.CreateWorkspace(XElement.Parse(markup), composition: composition, workspaceKind: workspaceKind);
74
_workspace
= null;
9 references to _workspace
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (9)
Workspaces\TestWorkspaceFixture.cs (9)
24
public EditorTestHostDocument CurrentDocument => _currentDocument ??
_workspace
.Documents.Single();
29
return
_workspace
;
40
_workspace
?.Dispose();
43
_currentDocument =
_workspace
.Documents.First(d => d.CursorPosition.HasValue);
46
return
_workspace
;
61
if (
_workspace
is null)
70
_workspace
?.Dispose();
107
if (
_workspace
?.Documents != null)
109
foreach (var document in
_workspace
?.Documents)