20 references to Capture
mscorlib (8)
system\io\stream.cs (1)
1013
_exceptionInfo = ExceptionDispatchInfo.
Capture
(ex);
system\Lazy.cs (1)
86
m_edi = ExceptionDispatchInfo.
Capture
(ex);
system\runtime\compilerservices\AsyncMethodBuilder.cs (2)
1010
var edi = ExceptionDispatchInfo.
Capture
(exception);
1025
edi = ExceptionDispatchInfo.
Capture
(new AggregateException(exception, postException));
system\threading\Tasks\TaskContinuation.cs (1)
857
var edi = ExceptionDispatchInfo.
Capture
(exc);
system\threading\Tasks\TaskExceptionHolder.cs (3)
222
m_cancellationException = ExceptionDispatchInfo.
Capture
(oce);
254
exceptions.Add(ExceptionDispatchInfo.
Capture
(exception));
279
exceptions.Add(ExceptionDispatchInfo.
Capture
(exc));
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlUtil.cs (1)
159
ExceptionDispatchInfo.
Capture
(ae.InnerException).Throw();
System.Web (11)
AspNetSynchronizationContext.cs (1)
153
_state.Helper.Error = ExceptionDispatchInfo.
Capture
(ex);
Compilation\BuildProvidersCompiler.cs (2)
222
ExceptionDispatchInfo.
Capture
(ae.GetBaseException()).Throw();
792
ExceptionDispatchInfo.
Capture
(e.GetBaseException()).Throw();
Hosting\AsyncResultBase.cs (1)
85
_error = ExceptionDispatchInfo.
Capture
(error);
Hosting\ProcessHost.cs (2)
1225
SetCustomLoaderFailure(appId, ExceptionDispatchInfo.
Capture
(ex));
1244
SetCustomLoaderFailure(appId, ExceptionDispatchInfo.
Capture
(ex));
HttpApplication.cs (1)
4390
_error = (error != null) ? ExceptionDispatchInfo.
Capture
(error) : null;
LegacyAspNetSynchronizationContext.cs (1)
65
_error = ExceptionDispatchInfo.
Capture
(e);
Util\SynchronizationHelper.cs (2)
162
Error = ExceptionDispatchInfo.
Capture
(ex);
199
Error = ExceptionDispatchInfo.
Capture
(ex);
WebSocketPipeline.cs (1)
64
return ExceptionDispatchInfo.
Capture
(ex);