8 references to ParameterInvalid
System.Configuration.ConfigurationManager (8)
System\Configuration\ClientConfigPaths.cs (1)
49
throw ExceptionUtil.
ParameterInvalid
(nameof(exePath));
System\Configuration\ClientConfigurationHost.cs (1)
437
throw ExceptionUtil.
ParameterInvalid
(nameof(userLevel));
System\Configuration\Internal\InternalConfigHost.cs (1)
194
if (!Path.IsPathRooted(streamName)) throw ExceptionUtil.
ParameterInvalid
(nameof(streamName));
System\Configuration\Internal\InternalConfigRoot.cs (2)
96
if (!ConfigPathUtility.IsValid(configPath)) throw ExceptionUtil.
ParameterInvalid
(nameof(configPath));
235
if (!ConfigPathUtility.IsValid(configPath)) throw ExceptionUtil.
ParameterInvalid
(nameof(configPath));
System\Configuration\MgmtConfigurationRecord.cs (2)
243
if (!factoryRecord.IsGroup) throw ExceptionUtil.
ParameterInvalid
("sectionGroupName");
824
if (configSectionGroup == null) throw ExceptionUtil.
ParameterInvalid
(nameof(name));
System\Configuration\UrlPath.cs (1)
130
throw ExceptionUtil.
ParameterInvalid
(nameof(fileName));