28 references to Arg_MustBeType
System.Private.CoreLib (28)
src\libraries\System.Private.CoreLib\src\System\Activator.RuntimeType.cs (2)
37throw new ArgumentException(SR.Arg_MustBeType, nameof(type)); 98throw new ArgumentException(SR.Arg_MustBeType, nameof(type));
src\libraries\System.Private.CoreLib\src\System\DefaultBinder.cs (1)
550throw new ArgumentException(SR.Arg_MustBeType, nameof(types));
src\libraries\System.Private.CoreLib\src\System\Enum.cs (1)
2149throw new ArgumentException(enumType is not RuntimeType ? SR.Arg_MustBeType : SR.Arg_MustBeEnum, nameof(enumType));
src\libraries\System.Private.CoreLib\src\System\Reflection\Emit\DynamicMethod.cs (1)
351throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\libraries\System.Private.CoreLib\src\System\Reflection\Pointer.cs (1)
30throw new ArgumentException(SR.Arg_MustBeType, nameof(type));
src\libraries\System.Private.CoreLib\src\System\RuntimeType.cs (2)
63throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 196throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\libraries\System.Private.CoreLib\src\System\ThrowHelper.cs (1)
1202return SR.Arg_MustBeType;
src\System\Reflection\Emit\RuntimeTypeBuilder.cs (2)
997throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 1010throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeAssembly.cs (2)
344throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 354throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeConstructorInfo.CoreCLR.cs (2)
139throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 149throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeEventInfo.cs (2)
99throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 109throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeFieldInfo.cs (2)
70throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 80throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs (2)
182throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 192throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeModule.cs (2)
370throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 380throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimeParameterInfo.cs (2)
468throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 484throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Reflection\RuntimePropertyInfo.cs (2)
147throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType)); 157throw new ArgumentException(SR.Arg_MustBeType, nameof(attributeType));
src\System\Runtime\CompilerServices\RuntimeHelpers.CoreCLR.cs (1)
362throw new ArgumentException(SR.Arg_MustBeType, nameof(type));