public virtual object Suspend() { if (this.CanSuspend) { throw EX.Create(EXCode.EncoderFeatureNotImplemented, "Suspend"); } else { throw new NotSupportedException(); } }
internal static Exception Create(EXCode code, params object[] data) { return(EX.Create(code, null, data)); }
internal static Exception Create(EXCode code, object expected, object actual) { return(EX.Create(code, null, expected, actual)); }