Example #1
0
 static public int CanSerializeContractType(IntPtr l)
 {
     try {
         ProtoBuf.Meta.TypeModel self = (ProtoBuf.Meta.TypeModel)checkSelf(l);
         System.Type             a1;
         checkType(l, 2, out a1);
         var ret = self.CanSerializeContractType(a1);
         pushValue(l, true);
         pushValue(l, ret);
         return(2);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }