public void Write000EscapeConstant(ConstantString_000Escape str) { var ix = (byte)str; Builder.Append(ThunkWriterCharArrays.Escape000Prefix); Builder.Append(ThunkWriterCharArrays.ConstantString_000Escape_Chars[ix]); }
public static bool IsConstant000EscapeString(string str, out ConstantString_000Escape c) { switch (str) { case @"\u0000": c = ConstantString_000Escape.EscapeSequence_0000; return(true); case @"\u0001": c = ConstantString_000Escape.EscapeSequence_0001; return(true); case @"\u0002": c = ConstantString_000Escape.EscapeSequence_0002; return(true); case @"\u0003": c = ConstantString_000Escape.EscapeSequence_0003; return(true); case @"\u0004": c = ConstantString_000Escape.EscapeSequence_0004; return(true); case @"\u0005": c = ConstantString_000Escape.EscapeSequence_0005; return(true); case @"\u0006": c = ConstantString_000Escape.EscapeSequence_0006; return(true); case @"\u0007": c = ConstantString_000Escape.EscapeSequence_0007; return(true); case @"\u000B": c = ConstantString_000Escape.EscapeSequence_000B; return(true); case @"\u000E": c = ConstantString_000Escape.EscapeSequence_000E; return(true); case @"\u000F": c = ConstantString_000Escape.EscapeSequence_000F; return(true); default: c = 0; return(false); } }
public static bool IsConstant000EscapeString(string str, out ConstantString_000Escape c) { switch (str) { case @"\u0000": c = ConstantString_000Escape.EscapeSequence_0000; return true; case @"\u0001": c = ConstantString_000Escape.EscapeSequence_0001; return true; case @"\u0002": c = ConstantString_000Escape.EscapeSequence_0002; return true; case @"\u0003": c = ConstantString_000Escape.EscapeSequence_0003; return true; case @"\u0004": c = ConstantString_000Escape.EscapeSequence_0004; return true; case @"\u0005": c = ConstantString_000Escape.EscapeSequence_0005; return true; case @"\u0006": c = ConstantString_000Escape.EscapeSequence_0006; return true; case @"\u0007": c = ConstantString_000Escape.EscapeSequence_0007; return true; case @"\u000B": c = ConstantString_000Escape.EscapeSequence_000B; return true; case @"\u000E": c = ConstantString_000Escape.EscapeSequence_000E; return true; case @"\u000F": c = ConstantString_000Escape.EscapeSequence_000F; return true; default: c = 0; return false; } }