23 references to UnexpectedError
System.Configuration.ConfigurationManager (23)
System\Configuration\BaseConfigurationRecord.cs (1)
3376
throw ExceptionUtil.
UnexpectedError
("BaseConfigurationRecord::hlClearResultRecursive");
System\Configuration\ClientConfigurationHost.cs (6)
145
throw ExceptionUtil.
UnexpectedError
("ClientConfigurationHost::Init");
172
throw ExceptionUtil.
UnexpectedError
("ClientConfigurationHost::Init");
313
if (!IsFile(streamName)) throw ExceptionUtil.
UnexpectedError
($"ClientConfigurationHost::OpenStreamForWrite '{streamName}' '{templateStreamName}'");
321
if (!IsFile(streamName)) throw ExceptionUtil.
UnexpectedError
("ClientConfigurationHost::Delete");
348
throw ExceptionUtil.
UnexpectedError
("ClientConfigurationHost::IsDefinitionAllowed");
370
_ => ExceptionUtil.
UnexpectedError
("ClientConfigurationHost::VerifyDefinitionAllowed"),
System\Configuration\Configuration.cs (2)
58
throw ExceptionUtil.
UnexpectedError
("Configuration::ctor");
61
throw ExceptionUtil.
UnexpectedError
("Configuration::ctor");
System\Configuration\ConfigurationErrorsException.cs (1)
135
throw ExceptionUtil.
UnexpectedError
("ConfigurationErrorsException");
System\Configuration\Internal\InternalConfigHost.cs (9)
44
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.GetStreamName");
104
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.StartMonitoringStreamForChanges");
109
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.StopMonitoringStreamForChanges");
130
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.IsAboveApplication");
135
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.GetConfigPathFromLocationSubPath");
140
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.IsLocationApplicable");
155
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.CreateDeprecatedConfigContext");
160
throw ExceptionUtil.
UnexpectedError
("IInternalConfigHost.CreateConfigurationContext");
225
throw ExceptionUtil.
UnexpectedError
("InternalConfigHost::StaticOpenStreamForRead");
System\Configuration\Internal\InternalConfigRoot.cs (4)
172
throw ExceptionUtil.
UnexpectedError
(
176
throw ExceptionUtil.
UnexpectedError
(
195
throw ExceptionUtil.
UnexpectedError
(
199
throw ExceptionUtil.
UnexpectedError
(