public static unsafe void RhArrayStoreCheckAny(object array, ref byte data) { if (array == null) { return; } Debug.Assert(array.EEType->IsArray, "first argument must be an array"); EEType *arrayElemType = array.EEType->RelatedParameterType; if (arrayElemType->IsValueType) { return; } TypeCast.CheckArrayStore(array, Unsafe.As <byte, Object>(ref data)); }
static public /*internal*/ unsafe void RhArrayStoreCheckAny(object array, ref Hack_o_p data) { if (array == null) { return; } Debug.Assert(array.EEType->IsArray, "first argument must be an array"); EEType *arrayElemType = array.EEType->RelatedParameterType; if (arrayElemType->IsValueType) { return; } TypeCast.CheckArrayStore(array, data.o); }