Exemplo n.º 1
0
 public void TestRoots()
 {
     IMLTestRoots test = new IMLTestRoots {
         Roots = { CreateChild() }
     },
                  clone = Serializer.DeepClone(test);
 }
Exemplo n.º 2
0
 public void TestRoots()
 {
     Program.ExpectFailure<InvalidOperationException>(() =>
     {
         IMLTestRoots test = new IMLTestRoots { Roots = { CreateChild() } },
                 clone = Serializer.DeepClone(test);
     });
 }
Exemplo n.º 3
0
 public void TestRoots()
 {
     var          rtm  = TypeModel.Create();
     IMLTestRoots test = new IMLTestRoots {
         Roots = { CreateChild() }
     },
                  clone = rtm.DeepClone(test);
 }
 public void TestRoots()
 {
     Program.ExpectFailure <InvalidOperationException>(() =>
     {
         IMLTestRoots test = new IMLTestRoots {
             Roots = { CreateChild() }
         },
         clone = Serializer.DeepClone(test);
     });
 }
 public void TestRoots()
 {
     IMLTestRoots test = new IMLTestRoots { Roots = {CreateChild()} },
                 clone = Serializer.DeepClone(test);
 }