public RequireMinimumFieldSize ( int bytes ) : void | ||
bytes | int | |
return | void |
public void RequireMinimumFieldSize(int bytes)
{
if (field.Size < bytes)
throw new InvalidDataException("The " + FieldName + " must be at least " + bytes + " byte(s) long, not " + field.Size + ".");
}