public void WriteMinConstant(ConstantString_Min str) { var asUShort = (ushort)str; var ix = (asUShort >> 8); var len = asUShort & 0xFF; Builder.Append(ThunkWriterCharArrays.ConstantString_Min_Chars, ix, len); }
public static bool IsConstantMinString(string str, out ConstantString_Min c) { switch (str) { case "-2147483648": c = ConstantString_Min.Int_MinValue; return(true); case "-9223372036854775808": c = ConstantString_Min.Long_MinValue; return(true); default: c = 0; return(false); } }
public void WriteMinConstant(ConstantString_Min str) { var asUShort = (ushort)str; var ix = (asUShort >> 8); var len = asUShort & 0xFF; Builder.Append(ThunkWriterCharArrays.ConstantString_Min_Chars, ix, len); }
public static bool IsConstantMinString(string str, out ConstantString_Min c) { switch (str) { case "-2147483648": c = ConstantString_Min.Int_MinValue; return true; case "-9223372036854775808": c = ConstantString_Min.Long_MinValue; return true; default: c = 0; return false; } }