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