25 int num = parameters.Length;
30 if (
info.DeclaringType !=
null &&
info.DeclaringType.IsArray && (
info.Name ==
"Get" ||
info.Name ==
"Set"))
34 if (!
info.IsStatic &&
info.DeclaringType.IsValueType)
78 bool flag = info.Name ==
"Get";
140 return pi[
index].ParameterType;
223 switch (
type.GetTypeCode())
280 switch (
type.GetTypeCode())
337 switch (
type.GetTypeCode())
340 if (!
type.IsValueType)
384 return arrTypes.Length
switch
394 return arrTypes.Length
switch
static ? object CreateInstance([DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.PublicConstructors|DynamicallyAccessedMemberTypes.NonPublicConstructors)] Type type, BindingFlags bindingAttr, Binder? binder, object?[]? args, CultureInfo? culture)
static Exception Unreachable
static Type GetHelperType(MethodInfo info, Type[] arrTypes)
static CallInstruction FastCreate< T0 >(MethodInfo target, ParameterInfo[] pi)
static CallInstruction SlowCreate(MethodInfo info, ParameterInfo[] pis)
static Type TryGetParameterOrReturnType(MethodInfo target, ParameterInfo[] pi, int index)
object InterpretLambdaInvoke(LightLambda targetLambda, object[] args)
static CallInstruction Create(MethodInfo info, ParameterInfo[] parameters)
static void ArrayItemSetter2(Array array, int index0, int index1, object value)
override string InstructionName
static bool IndexIsNotReturnType(int index, MethodInfo target, ParameterInfo[] pi)
static CallInstruction FastCreate(MethodInfo target, ParameterInfo[] pi)
static CallInstruction FastCreate< T0, T1 >(MethodInfo target, ParameterInfo[] pi)
static bool TryGetLightLambdaTarget(object instance, [NotNullWhen(true)] out LightLambda lightLambda)
static void ArrayItemSetter1(Array array, int index0, object value)
static readonly CacheDict< MethodInfo, CallInstruction > s_cache
static CallInstruction GetArrayAccessor(MethodInfo info, int argumentCount)
static bool ShouldCache(MethodInfo info)
static CallInstruction Create(MethodInfo info)
static void ArrayItemSetter3(Array array, int index0, int index1, int index2, object value)
override int ConsumedStack
static void UnwrapAndRethrow(TargetInvocationException exception)
virtual int ProducedStack
DynamicallyAccessedMemberTypes