Пример #1
0
 public static void EmitThrowExceededLengthLimit(SerializerCodeGen g, Operand length, int limit)
 {
     g.ThrowProtoException("Total array length " + length + " exceeded the limit " + limit + ", " +
                           "set MetaType.ArrayLengthReadLimit");
 }
 void EmitThrowWrongRank(SerializerCodeGen g)
 {
     g.ThrowProtoException("Wrong array rank read from source stream, type " + ExpectedType);
 }