Example #1
0
 public void CheckField(Define st1, Define st2)
 {
     st2.MakeUp();
     if (st1 == st2)
         throw Abort(
             "can not define recursive field: {0}",
             st1.GetFullName(name));
     var b = st2.GetBaseStruct();
     if (b != null) CheckField(st1, b);
 }