Example #1
0
extern "C" void Check_SourceAndPredicate_m8523 (Object_t * __this /* static, unused */, Object_t * ___source, Object_t * ___predicate, MethodInfo* method)
{
	{
		Object_t * L_0 = ___source;
		if (L_0)
		{
			goto IL_0011;
		}
	}
	{
		ArgumentNullException_t1172 * L_1 = (ArgumentNullException_t1172 *)il2cpp_codegen_object_new (InitializedTypeInfo(&ArgumentNullException_t1172_il2cpp_TypeInfo));
		ArgumentNullException__ctor_m6951(L_1, (String_t*) &_stringLiteral943, /*hidden argument*/&ArgumentNullException__ctor_m6951_MethodInfo);
		il2cpp_codegen_raise_exception(L_1);
	}

IL_0011:
	{
		Object_t * L_2 = ___predicate;
		if (L_2)
		{
			goto IL_0022;
		}
	}
	{
		ArgumentNullException_t1172 * L_3 = (ArgumentNullException_t1172 *)il2cpp_codegen_object_new (InitializedTypeInfo(&ArgumentNullException_t1172_il2cpp_TypeInfo));
		ArgumentNullException__ctor_m6951(L_3, (String_t*) &_stringLiteral944, /*hidden argument*/&ArgumentNullException__ctor_m6951_MethodInfo);
		il2cpp_codegen_raise_exception(L_3);
	}

IL_0022:
	{
		return;
	}
}
extern "C" Object_t * RemotingServices_GetClientChannelSinkChain_m2768 (Object_t * __this /* static, unused */, String_t* ___url, Object_t * ___channelData, String_t** ___objectUri, const MethodInfo* method)
{
    static bool s_Il2CppMethodIntialized;
    if (!s_Il2CppMethodIntialized)
    {
        NotSupportedException_t693_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(992);
        s_Il2CppMethodIntialized = true;
    }
    {
        NotSupportedException_t693 * L_0 = (NotSupportedException_t693 *)il2cpp_codegen_object_new (NotSupportedException_t693_il2cpp_TypeInfo_var);
        NotSupportedException__ctor_m2490(L_0, (String_t*) &_stringLiteral630, /*hidden argument*/NULL);
        il2cpp_codegen_raise_exception(L_0);
    }
}
extern "C" String_t* SecurityElement_ToString_m2767 (Object_t * __this /* static, unused */, Object_t * _____this, const MethodInfo* method)
{
    static bool s_Il2CppMethodIntialized;
    if (!s_Il2CppMethodIntialized)
    {
        NotSupportedException_t693_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(992);
        s_Il2CppMethodIntialized = true;
    }
    {
        NotSupportedException_t693 * L_0 = (NotSupportedException_t693 *)il2cpp_codegen_object_new (NotSupportedException_t693_il2cpp_TypeInfo_var);
        NotSupportedException__ctor_m2490(L_0, (String_t*) &_stringLiteral629, /*hidden argument*/NULL);
        il2cpp_codegen_raise_exception(L_0);
    }
}
extern "C" Object_t * RemotingServices_CreateClientProxy_m2769 (Object_t * __this /* static, unused */, Type_t * ___objectType, String_t* ___url, ObjectU5BU5D_t29* ___activationAttributes, const MethodInfo* method)
{
    static bool s_Il2CppMethodIntialized;
    if (!s_Il2CppMethodIntialized)
    {
        NotSupportedException_t693_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(992);
        s_Il2CppMethodIntialized = true;
    }
    {
        NotSupportedException_t693 * L_0 = (NotSupportedException_t693 *)il2cpp_codegen_object_new (NotSupportedException_t693_il2cpp_TypeInfo_var);
        NotSupportedException__ctor_m2490(L_0, (String_t*) &_stringLiteral631, /*hidden argument*/NULL);
        il2cpp_codegen_raise_exception(L_0);
    }
}
extern "C" int32_t DefaultComparer_Compare_m27355_gshared (DefaultComparer_t3279 * __this, Guid_t2182  ___x, Guid_t2182  ___y, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		IComparable_t2269_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(1091);
		ArgumentException_t480_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(303);
		_stringLiteral3365 = il2cpp_codegen_string_literal_from_index(3365);
		s_Il2CppMethodIntialized = true;
	}
	int32_t G_B4_0 = 0;
	{
		Guid_t2182  L_0 = ___x;
		goto IL_001e;
	}
	{
		Guid_t2182  L_1 = ___y;
		goto IL_001c;
	}
	{
		G_B4_0 = 0;
		goto IL_001d;
	}

IL_001c:
	{
		G_B4_0 = (-1);
	}

IL_001d:
	{
		return G_B4_0;
	}

IL_001e:
	{
		Guid_t2182  L_2 = ___y;
		goto IL_002b;
	}
	{
		return 1;
	}

IL_002b:
	{
		Guid_t2182  L_3 = ___x;
		Guid_t2182  L_4 = L_3;
		Object_t * L_5 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_4);
		if (!((Object_t*)IsInst(L_5, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3))))
		{
			goto IL_004d;
		}
	}
	{
		Guid_t2182  L_6 = ___x;
		Guid_t2182  L_7 = L_6;
		Object_t * L_8 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_7);
		Guid_t2182  L_9 = ___y;
		NullCheck((Object_t*)((Object_t*)Castclass(L_8, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3))));
		int32_t L_10 = (int32_t)InterfaceFuncInvoker1< int32_t, Guid_t2182  >::Invoke(0 /* System.Int32 System.IComparable`1<System.Guid>::CompareTo(T) */, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3), (Object_t*)((Object_t*)Castclass(L_8, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 3))), (Guid_t2182 )L_9);
		return L_10;
	}

IL_004d:
	{
		Guid_t2182  L_11 = ___x;
		Guid_t2182  L_12 = L_11;
		Object_t * L_13 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_12);
		if (!((Object_t *)IsInst(L_13, IComparable_t2269_il2cpp_TypeInfo_var)))
		{
			goto IL_0074;
		}
	}
	{
		Guid_t2182  L_14 = ___x;
		Guid_t2182  L_15 = L_14;
		Object_t * L_16 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_15);
		Guid_t2182  L_17 = ___y;
		Guid_t2182  L_18 = L_17;
		Object_t * L_19 = Box(IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 2), &L_18);
		NullCheck((Object_t *)((Object_t *)Castclass(L_16, IComparable_t2269_il2cpp_TypeInfo_var)));
		int32_t L_20 = (int32_t)InterfaceFuncInvoker1< int32_t, Object_t * >::Invoke(0 /* System.Int32 System.IComparable::CompareTo(System.Object) */, IComparable_t2269_il2cpp_TypeInfo_var, (Object_t *)((Object_t *)Castclass(L_16, IComparable_t2269_il2cpp_TypeInfo_var)), (Object_t *)L_19);
		return L_20;
	}

IL_0074:
	{
		ArgumentException_t480 * L_21 = (ArgumentException_t480 *)il2cpp_codegen_object_new (ArgumentException_t480_il2cpp_TypeInfo_var);
		ArgumentException__ctor_m2368(L_21, (String_t*)_stringLiteral3365, /*hidden argument*/NULL);
		il2cpp_codegen_raise_exception((Il2CppCodeGenException*)L_21);
	}
}
extern "C" int32_t Comparer_1_System_Collections_IComparer_Compare_m27405_gshared (Comparer_1_t3283 * __this, Object_t * ___x, Object_t * ___y, const MethodInfo* method)
{
	static bool s_Il2CppMethodIntialized;
	if (!s_Il2CppMethodIntialized)
	{
		ArgumentException_t480_il2cpp_TypeInfo_var = il2cpp_codegen_type_info_from_index(303);
		s_Il2CppMethodIntialized = true;
	}
	int32_t G_B4_0 = 0;
	{
		Object_t * L_0 = ___x;
		if (L_0)
		{
			goto IL_0014;
		}
	}
	{
		Object_t * L_1 = ___y;
		if (L_1)
		{
			goto IL_0012;
		}
	}
	{
		G_B4_0 = 0;
		goto IL_0013;
	}

IL_0012:
	{
		G_B4_0 = (-1);
	}

IL_0013:
	{
		return G_B4_0;
	}

IL_0014:
	{
		Object_t * L_2 = ___y;
		if (L_2)
		{
			goto IL_001c;
		}
	}
	{
		return 1;
	}

IL_001c:
	{
		Object_t * L_3 = ___x;
		if (!((Object_t *)IsInst(L_3, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6))))
		{
			goto IL_0045;
		}
	}
	{
		Object_t * L_4 = ___y;
		if (!((Object_t *)IsInst(L_4, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6))))
		{
			goto IL_0045;
		}
	}
	{
		Object_t * L_5 = ___x;
		Object_t * L_6 = ___y;
		NullCheck((Comparer_1_t3283 *)__this);
		int32_t L_7 = (int32_t)VirtFuncInvoker2< int32_t, TimeSpan_t1036 , TimeSpan_t1036  >::Invoke(6 /* System.Int32 System.Collections.Generic.Comparer`1<System.TimeSpan>::Compare(T,T) */, (Comparer_1_t3283 *)__this, (TimeSpan_t1036 )((*(TimeSpan_t1036 *)((TimeSpan_t1036 *)UnBox (L_5, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6))))), (TimeSpan_t1036 )((*(TimeSpan_t1036 *)((TimeSpan_t1036 *)UnBox (L_6, IL2CPP_RGCTX_DATA(InitializedTypeInfo(method->declaring_type)->rgctx_data, 6))))));
		return L_7;
	}

IL_0045:
	{
		ArgumentException_t480 * L_8 = (ArgumentException_t480 *)il2cpp_codegen_object_new (ArgumentException_t480_il2cpp_TypeInfo_var);
		ArgumentException__ctor_m13404(L_8, /*hidden argument*/NULL);
		il2cpp_codegen_raise_exception((Il2CppCodeGenException*)L_8);
	}
}
extern "C" void pinvoke_delegate_wrapper_EventHandler_t1502(Il2CppObject* delegate, Object_t * ___sender, EventArgs_t625 * ___e)
{
	// Marshaling of parameter '___sender' to native representation
	Object_t * ____sender_marshaled = { 0 };
	il2cpp_codegen_raise_exception((Il2CppCodeGenException*)il2cpp_codegen_get_not_supported_exception("Cannot marshal type 'System.Object'."));
}
extern "C" Assembly_t947 * pinvoke_delegate_wrapper_ResolveEventHandler_t1501(Il2CppObject* delegate, Object_t * ___sender, ResolveEventArgs_t1558 * ___args)
{
	// Marshaling of parameter '___sender' to native representation
	Object_t * ____sender_marshaled = { 0 };
	il2cpp_codegen_raise_exception((Il2CppCodeGenException*)il2cpp_codegen_get_not_supported_exception("Cannot marshal type 'System.Object'."));
}