public static TssSdtUlong operator ++(TssSdtUlong v) { TssSdtUlong @ulong = new TssSdtUlong(); if (v == null) { @ulong.SetValue(1L); return(@ulong); } ulong num = v.GetValue() + ((ulong)1L); @ulong.SetValue(num); return(@ulong); }
public static TssSdtUlong operator --(TssSdtUlong v) { TssSdtUlong @ulong = new TssSdtUlong(); if (v == null) { ulong num = 0L; num -= (ulong)1L; @ulong.SetValue(num); return(@ulong); } ulong num2 = v.GetValue() - ((ulong)1L); @ulong.SetValue(num2); return(@ulong); }
public static TssSdtUlong operator ++(TssSdtUlong v) { TssSdtUlong tssSdtUlong = new TssSdtUlong(); if (v == null) { tssSdtUlong.SetValue(1uL); } else { ulong num = v.GetValue(); num += 1uL; tssSdtUlong.SetValue(num); } return(tssSdtUlong); }
public static TssSdtUlong operator --(TssSdtUlong v) { TssSdtUlong tssSdtUlong = new TssSdtUlong(); if (v == null) { ulong num = 0uL; num -= 1uL; tssSdtUlong.SetValue(num); } else { ulong num2 = v.GetValue(); num2 -= 1uL; tssSdtUlong.SetValue(num2); } return(tssSdtUlong); }
public static TssSdtUlong operator ++(TssSdtUlong v) { TssSdtUlong tssSdtUlong = new TssSdtUlong(); if (object.Equals(v, null)) { ulong num = 0uL; num += 1uL; tssSdtUlong.SetValue(num); } else { ulong num2 = v.GetValue(); num2 += 1uL; tssSdtUlong.SetValue(num2); } return(tssSdtUlong); }
//compile err in Unity3D if we don't override operator-- public static TssSdtUlong operator--(TssSdtUlong v) { TssSdtUlong obj = new TssSdtUlong(); if (v == null) { ulong new_v = 0; new_v -= 1; obj.SetValue(new_v); } else { ulong new_v = v.GetValue(); new_v -= 1; obj.SetValue(new_v); } return obj; }