7 references to AsError
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\ExceptionTrace.cs (1)
47
return
AsError
<Exception>(aggregateException);
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TaskHelpers.cs (1)
23
throw Fx.Exception.
AsError
<TException>(task.Exception);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketHelper.cs (4)
148
Exception exception = FxTrace.Exception.
AsError
<OperationCanceledException>(aggregationException);
178
Exception exception = FxTrace.Exception.
AsError
<Exception>(ex);
193
throw FxTrace.Exception.
AsError
<CommunicationException>(task.Exception);
206
return FxTrace.Exception.
AsError
<CommunicationException>(task.Exception);
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\TaskMethodInvoker.cs (1)
103
throw FxTrace.Exception.
AsError
<FaultException>(ae);