9 references to Arg_EnumIllegalVal
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Convert.cs (3)
2346
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
2384
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
2420
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, (int)options), nameof(options));
src\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.cs (2)
159
throw new ArgumentOutOfRangeException(nameof(option), option, SR.Format(SR.
Arg_EnumIllegalVal
, option));
267
throw new ArgumentOutOfRangeException(nameof(target), target, SR.Format(SR.
Arg_EnumIllegalVal
, target));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Environment.GetFolderPathCore.Unix.cs (1)
147
throw new ArgumentOutOfRangeException(nameof(folder), folder, SR.Format(SR.
Arg_EnumIllegalVal
, folder));
src\runtime\src\libraries\System.Private.CoreLib\src\System\OperatingSystem.cs (1)
63
throw new ArgumentOutOfRangeException(nameof(platform), platform, SR.Format(SR.
Arg_EnumIllegalVal
, platform));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\ContractHelper.cs (1)
36
throw new ArgumentException(SR.Format(SR.
Arg_EnumIllegalVal
, failureKind), nameof(failureKind));