public void ToolsetClone() { Toolset toolset = new Toolset("toolversion", "c:\aPath"); toolset.BuildProperties.SetProperty("n", "v"); Toolset toolset2 = toolset.Clone(); Assertion.AssertEquals(false, object.ReferenceEquals(toolset, toolset2)); Assertion.AssertEquals(false, object.ReferenceEquals(toolset.BuildProperties["n"], toolset2.BuildProperties["n"])); Assertion.AssertEquals(false, object.ReferenceEquals(toolset.BuildProperties, toolset2.BuildProperties)); Assertion.AssertEquals(toolset.ToolsPath, toolset2.ToolsPath); Assertion.AssertEquals(toolset.ToolsVersion, toolset2.ToolsVersion); }