public void TestEmptyMetadataCreation() { var pid = ProjectId.CreateNewId(); using (var workspace = new MonoDevelopWorkspace(null)) { var data = new MonoDevelopWorkspace.ProjectData(pid, ImmutableArray <MonoDevelopMetadataReference> .Empty, workspace); data.Disconnect(); // Do nothing, we just want to see it construct and dispose properly. } }
public async Task TestEmptyMetadataCreation() { var pid = ProjectId.CreateNewId(); using (var workspace = await IdeApp.TypeSystemService.CreateEmptyWorkspace()) { var data = new MonoDevelopWorkspace.ProjectData(pid, ImmutableArray <MonoDevelopMetadataReference> .Empty, workspace); data.Disconnect(); // Do nothing, we just want to see it construct and dispose properly. } }