return GetArrayAccessor(info, argumentCount);
}
+#if FULL_AOT_RUNTIME
+ return new MethodInfoCallInstruction(info, argumentCount);
+#else
if (ReflectionUtils.IsDynamicMethod(info) || !info.IsStatic && info.DeclaringType.IsValueType()) {
return new MethodInfoCallInstruction(info, argumentCount);
}
}
}
- return res;
+ return res;
+#endif
}
private static CallInstruction GetArrayAccessor(MethodInfo info, int argumentCount) {