Changeset 15384 for stable/HeuristicLab.Common
- Timestamp:
- 09/28/17 08:04:05 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 15367
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Common/3.3/AsyncHelper.cs
r15292 r15384 21 21 22 22 using System; 23 using System.Linq;24 23 using System.Runtime.ExceptionServices; 25 24 using System.Threading; … … 38 37 } catch (OperationCanceledException) { 39 38 } catch (AggregateException ae) { 40 var e = ae.InnerExceptions.SingleOrDefault() ?? ae; 41 ExceptionDispatchInfo.Capture(e).Throw(); 39 ae.FlattenAndHandle(new[] { typeof(OperationCanceledException) }, e => ExceptionDispatchInfo.Capture(e).Throw()); 42 40 } 43 41 } -
stable/HeuristicLab.Common/3.3/HeuristicLab.Common-3.3.csproj
r15292 r15384 132 132 <Compile Include="Constants.cs" /> 133 133 <Compile Include="ArrayExtensions.cs" /> 134 <Compile Include="ExceptionExtensions.cs" /> 134 135 <Compile Include="Statistics\EmpiricalCumulativeDistributionFunction.cs" /> 135 136 <Compile Include="ListExtensions.cs" />
Note: See TracChangeset
for help on using the changeset viewer.