22 references to Argument_MustBeRuntimeType
System.Private.CoreLib (22)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceManager.cs (1)
225
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\Marshal.cs (4)
112
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(t));
573
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(structureType));
1055
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
1099
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(t));
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\TypeMapLazyDictionary.cs (1)
373
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(key));
src\libraries\System.Private.CoreLib\src\System\Runtime\Serialization\SerializationInfo.cs (1)
340
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
src\System\Delegate.CoreCLR.cs (7)
65
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(target));
232
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
269
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
271
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(target));
302
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
337
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
375
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
src\System\Reflection\Emit\DynamicILGenerator.cs (3)
40
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
133
RuntimeType rtType = type as RuntimeType ?? throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
360
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
src\System\Reflection\Emit\SignatureHelper.cs (2)
745
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(optionalCustomModifiers));
768
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(requiredCustomModifiers));
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (1)
384
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(delegateType));
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
311
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(structuretype));
src\System\RuntimeType.CoreCLR.cs (1)
2718
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(interfaceType));