1 write to Workspace
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Diagnostics\GenerateType\GenerateTypeTestState.cs (1)
33
Workspace
= workspace;
5 references to Workspace
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (5)
Diagnostics\GenerateType\GenerateTypeTestState.cs (5)
34
_testDocument =
Workspace
.Documents.SingleOrDefault(d => d.CursorPosition.HasValue);
37
TriggeredProject =
Workspace
.CurrentSolution.GetProject(_testDocument.Project.Id);
42
ProjectToBeModified =
Workspace
.CurrentSolution.GetProject(_testDocument.Project.Id);
46
ProjectToBeModified =
Workspace
.CurrentSolution.Projects.FirstOrDefault(proj => proj.Name.Equals(projectToBeModified));
50
InvocationDocument =
Workspace
.CurrentSolution.GetDocument(_testDocument.Id);