public unsafe void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type) { bool flag = this._ptr != null; if (flag) { *(TypedReference *)typedRef = *(TypedReference *)this._ptr.Value; } else { *(TypedRef.PseudoTypedRef *)typedRef = this._typedRef; } }
public TypedRef(TypedRefPtr ptr) { this._ptr = new TypedRefPtr?(ptr); }
public void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type) { throw new NotImplementedException(); }
public void ToTypedReference(EmuContext ctx, TypedRefPtr typedRef, Type type) { Rhydon.Emulator.Helpers.TypedReferenceHelpers.GetFieldAddr(ctx, this.instance, this.field, typedRef); }