public virtual void tmethod_2112(ulong arg_0) { if (arg_0 > 9223372036854775807UL) { throw Class_413.smethod_3090(this, "Value is too large to fit in a signed 64 bit integer. BSON does not support unsigned values.", null); } base.xmethod_2041(arg_0); this.gmethod_2103(arg_0, Class_295.Long); }
public virtual void smethod_2110(uint arg_0) { if (arg_0 > 2147483647U) { throw Class_413.smethod_3090(this, "Value is too large to fit in a signed 32 bit integer. BSON does not support unsigned values.", null); } base.pmethod_2039(arg_0); this.gmethod_2103(arg_0, Class_295.Integer); }
// Token: 0x06000BDC RID: 3036 RVA: 0x000424F3 File Offset: 0x000406F3 public void lmethod_2128(byte[] byteDizi_0) { Class_517.ArgumentNotNull(byteDizi_0, "value"); if (byteDizi_0.Length != 12) { throw Class_413.smethod_3090(this, "An object id must be 12 bytes", null); } base.xmethod_2001(); base.tmethod_2032(Class_508.Undefined); this.gmethod_2103(byteDizi_0, Class_295.Oid); }
// Token: 0x06000BC4 RID: 3012 RVA: 0x000421A8 File Offset: 0x000403A8 internal void cmethod_2104(Class_287 arg_0) { if (this.field_2 != null) { if (this.field_2 is Class_288) { ((Class_288)this.field_2).cmethod_1954(this.field_3, arg_0); this.field_3 = null; return; } ((Class_289)this.field_2).lmethod_1958(arg_0); return; } else { if (arg_0.prop_0 != Class_295.Object && arg_0.prop_0 != Class_295.Array) { throw Class_413.smethod_3090(this, "Error writing {0} value. BSON must start with an Object or Array.".FormatWith(CultureInfo.InvariantCulture, arg_0.prop_0), null); } this.field_2 = arg_0; this.field_1 = arg_0; return; } }
// Token: 0x06000BBC RID: 3004 RVA: 0x00042109 File Offset: 0x00040309 public virtual void dmethod_2096(string str_0) { throw Class_413.smethod_3090(this, "Cannot write raw JSON as BSON.", null); }
// Token: 0x06000BBA RID: 3002 RVA: 0x000420FB File Offset: 0x000402FB public virtual void cmethod_2094(string str_0) { throw Class_413.smethod_3090(this, "Cannot write JSON constructor as BSON.", null); }
// Token: 0x06000BB9 RID: 3001 RVA: 0x000420ED File Offset: 0x000402ED public virtual void gmethod_2093(string str_0) { throw Class_413.smethod_3090(this, "Cannot write JSON comment as BSON.", null); }