2 writes to ProjectToBeModified
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Diagnostics\GenerateType\GenerateTypeTestState.cs (2)
42
ProjectToBeModified
= Workspace.CurrentSolution.GetProject(_testDocument.Project.Id);
46
ProjectToBeModified
= Workspace.CurrentSolution.Projects.FirstOrDefault(proj => proj.Name.Equals(projectToBeModified));
2 references to ProjectToBeModified
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (2)
Diagnostics\GenerateType\GenerateTypeTestState.cs (2)
47
Contract.ThrowIfNull(
ProjectToBeModified
, "Project with the given name does not exist");
57
ExistingDocument =
ProjectToBeModified
.Documents.FirstOrDefault(doc => doc.Name.Equals(existingFileName));