21 references to Argument_MustBeRuntimeType
System.Private.CoreLib (21)
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));
575
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(structureType));
1057
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
1100
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(t));
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));
223
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
260
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
262
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(target));
293
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
328
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
366
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(type));
src\System\Reflection\Emit\DynamicILGenerator.cs (3)
44
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
143
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
);
368
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)
385
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(delegateType));
src\System\Runtime\InteropServices\Marshal.CoreCLR.cs (1)
310
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(structuretype));
src\System\RuntimeType.CoreCLR.cs (1)
2725
throw new ArgumentException(SR.
Argument_MustBeRuntimeType
, nameof(interfaceType));