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