14 references to InvokeUtils
System.Private.CoreLib (14)
Internal\Runtime\Augments\RuntimeAugments.cs (4)
614
return
InvokeUtils
.CheckArgument(srcObject, dstType.ToMethodTable(),
InvokeUtils
.CheckArgumentSemantics.DynamicInvoke, binderBundle);
621
return
InvokeUtils
.CheckArgument(srcObject, dstType.ToMethodTable(),
InvokeUtils
.CheckArgumentSemantics.SetFieldDirect, binderBundle: null);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Array.cs (1)
653
InvokeUtils
.PrimitiveWiden(ref srcData, ref destData, srcElType, destElType);
System\Array.NativeAot.cs (3)
338
else if (
InvokeUtils
.CanPrimitiveWiden(destElementType, sourceElementType))
413
value =
InvokeUtils
.CheckArgument(value, pElementEEType,
InvokeUtils
.CheckArgumentSemantics.ArraySet, binderBundle: null);
System\Reflection\DynamicInvokeInfo.cs (6)
634
throw
InvokeUtils
.CreateChangeTypeArgumentException(srcEEType, argumentInfo.Type, destinationIsByRef: true);
636
arg =
InvokeUtils
.CheckArgumentConversions(arg, argumentInfo.Type,
InvokeUtils
.CheckArgumentSemantics.DynamicInvoke, binderBundle);
702
throw
InvokeUtils
.CreateChangeTypeArgumentException(srcEEType, argumentInfo.Type, destinationIsByRef: true);
704
arg =
InvokeUtils
.CheckArgumentConversions(arg, argumentInfo.Type,
InvokeUtils
.CheckArgumentSemantics.DynamicInvoke, binderBundle: null);