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