12 references to Arg_EnumIllegalVal
System.Private.CoreLib (12)
src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2347
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
2394
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
2433
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Contracts\Contracts.cs (1)
654
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, failureKind), nameof(failureKind));
src\libraries\System.Private.CoreLib\src\System\Environment.cs (3)
156
throw new ArgumentOutOfRangeException(nameof(folder), folder, SR.Format(SR.
Arg_EnumIllegalVal
, folder));
159
throw new ArgumentOutOfRangeException(nameof(option), option, SR.Format(SR.
Arg_EnumIllegalVal
, option));
262
throw new ArgumentOutOfRangeException(nameof(target), target, SR.Format(SR.
Arg_EnumIllegalVal
, target));
src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (1)
59
throw new ArgumentOutOfRangeException(nameof(platform), platform, SR.Format(SR.
Arg_EnumIllegalVal
, platform));
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ContractHelper.cs (1)
36
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, failureKind), nameof(failureKind));
src\System\Reflection\Emit\RuntimeAssemblyBuilder.cs (1)
45
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)access), nameof(access));
src\System\Reflection\RuntimeCustomAttributeData.cs (2)
520
_ => throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)encodedType), nameof(encodedType)),
540
_ => throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, val.Byte8), nameof(val))