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