internal string GetStringForEnumLongValue(string variable, bool useReflection) { if (useReflection) return typeof(Convert).FullName + ".ToInt64(" + variable + ")"; return "((" + typeof(long).FullName + ")" + variable + ")"; }