/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Threading.Tasks.Dataflow/Test/System.Threading.Tasks.Dataflow/ |
H A D | CompletionTest.cs | 82 Assert.AreEqual (1, ae.InnerExceptions.Count); in WithElementsStillLingeringButCancelled() 138 Assert.AreEqual (1, exception.InnerExceptions.Count); in MultipleFaultsTest() 168 Assert.AreEqual (1, exception.InnerExceptions.Count); in MultipleFaultsWhileExecutingTest() 194 Assert.AreEqual (2, exception.InnerExceptions.Count); in MultipleExceptionsTest() 213 Assert.AreEqual (1, exception.InnerExceptions.Count); in ExceptionAndFaultTest() 241 Assert.AreEqual (2, exception.InnerExceptions.Count); in FaultAndExceptionTest() 264 Assert.AreEqual (1, exception.InnerExceptions.Count); in ExceptionAndCancelTest() 294 Assert.AreEqual (1, exception.InnerExceptions.Count); in CancelAndExceptionTest() 314 Assert.AreEqual (1, exception.InnerExceptions.Count); in CancelAndFaultTest() 346 Assert.AreEqual (1, exception.InnerExceptions.Count); in CancelAndFaultWhileExecutingTest() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System/ |
H A D | AggregateExceptionTests.cs | 55 Assert.IsNotNull (ex.InnerExceptions); in SimpleInnerExceptionTestCase() 58 Assert.AreEqual (1, ex.InnerExceptions.Count); in SimpleInnerExceptionTestCase() 59 Assert.AreEqual (inner, ex.InnerExceptions[0]); in SimpleInnerExceptionTestCase() 69 Assert.AreEqual(3, ex.InnerExceptions.Count, "#1"); in FlattenTestCase() 70 …Assert.AreEqual(3, ex.InnerExceptions.Where((exception) => !(exception is AggregateException)).Cou… in FlattenTestCase() 106 Assert.AreEqual (1, e.InnerExceptions.Count); in Handle_Unhandled()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading.Tasks/tests/ |
H A D | AggregateExceptionTests.cs | 18 Assert.Equal(ex.InnerExceptions.Count, 0); in ConstructorBasic() 22 Assert.Equal(ex.InnerExceptions.Count, 0); in ConstructorBasic() 26 Assert.Equal(ex.InnerExceptions.Count, 1); in ConstructorBasic() 75 Assert.Equal(handledCount, ex.InnerExceptions.Count); in Handle() 116 Assert.Equal(expected1, flattened1.InnerExceptions); in Flatten() 125 Assert.Equal(expected2, flattened2.InnerExceptions); in Flatten()
|
/dports/lang/mono/mono-5.10.1.57/external/rx/Ix/NET/Tests/ |
H A D | AsyncTests.Single.cs | 126 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Where3() 140 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Where4() 151 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Where5() 162 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Where6() 214 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SelectMany2() 225 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SelectMany3() 245 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SelectMany4() 281 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SelectMany6() 292 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SelectMany7() 556 Assert.AreSame(((AggregateException)exa).Flatten().InnerExceptions.Single(), ex); in Do5() [all …]
|
H A D | AsyncTests.Multiple.cs | 56 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Concat2() 66 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Concat3() 106 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Concat5() 189 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Zip4() 201 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Zip5() 213 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Zip6() 400 …eption>(() => res.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SequenceEqual6() 411 …eption>(() => res.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SequenceEqual7() 465 …eption>(() => res.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SequenceEqual13() 476 …eption>(() => res.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in SequenceEqual14() [all …]
|
H A D | AsyncTests.Aggregates.cs | 69 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate3() 78 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate4() 103 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate7() 112 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate8() 137 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate11() 146 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate12() 155 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Aggregate13() 191 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Count3() 227 …ception>(() => ys.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in LongCount3() 259 …eption>(() => res.Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in All3() [all …]
|
H A D | AsyncTests.Conversions.cs | 47 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in ToAsyncEnumerable2() 102 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in ToAsyncEnumerable4() 160 …) => xs.GetEnumerator().MoveNext(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in ToEnumerable3() 283 Assert.AreEqual(ex1, ((AggregateException)ex_).InnerExceptions.Single()); in ToObservable4()
|
H A D | AsyncTests.Exceptions.cs | 122 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Catch4() 143 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Catch5() 170 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Catch6() 241 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single().Mess… in Catch10() 267 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Catch11() 331 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Finally3() 475 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single().Mess… in OnErrorResumeNext10()
|
H A D | AsyncTests.Creation.cs | 79 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in Throw() 215 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in Generate2() 226 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in Generate3() 237 …ception>(() => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).InnerExceptions.Single() == e… in Generate4() 362 …) => e.MoveNext().Wait(), ex_ => ((AggregateException)ex_).Flatten().InnerExceptions.Single() == e… in Using5()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading.Tasks/tests/TaskScheduler/ |
H A D | TaskSchedulerTests.cs | 94 if (!(ae.InnerExceptions[0] is TaskSchedulerException)) in RunBuggySchedulerTests() 96 …t(" > FAILED. Wrong inner exception thrown from Wait(): {0}", ae.InnerExceptions[0].GetType().… in RunBuggySchedulerTests() 128 if (!(ae.InnerExceptions[0] is TaskSchedulerException)) in RunBuggySchedulerTests() 130 …t(" > FAILED. Wrong inner exception thrown from Wait(): {0}", ae.InnerExceptions[0].GetType().… in RunBuggySchedulerTests() 166 if (!(ae.InnerExceptions[0] is TaskSchedulerException)) in RunBuggySchedulerTests() 168 …> FAILED. Wrong inner exception thrown from Wait() (sync): {0}", ae.InnerExceptions[0].GetType().… in RunBuggySchedulerTests() 186 if (!(ae.InnerExceptions[0] is TaskSchedulerException)) in RunBuggySchedulerTests() 188 … FAILED. Wrong inner exception thrown from Wait() (async): {0}", ae.InnerExceptions[0].GetType().… in RunBuggySchedulerTests()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Entity/System/Data/WebControls/ |
H A D | EntityDataSourceValidationException.cs | 83 IDictionary<string, Exception> IDynamicValidatorException.InnerExceptions 85 get { return _state.InnerExceptions; } 119 public Dictionary<string, Exception> InnerExceptions property in System.Web.UI.WebControls.EntityDataSourceValidationException.EntityDataSourceValidationExceptionState
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Threading/ |
H A D | CancellationTokenSourceTest.cs | 178 Assert.AreEqual (1, e.InnerExceptions.Count, "#2"); in Cancel_SingleException() 197 Assert.AreEqual (3, e.InnerExceptions.Count, "#2"); in Cancel_MultipleExceptions() 223 Assert.AreEqual (3, e.InnerExceptions.Count, "#2"); in Cancel_ExceptionOrder() 224 Assert.AreEqual ("3", e.InnerExceptions[0].Message, "#3"); in Cancel_ExceptionOrder() 225 Assert.AreEqual ("2", e.InnerExceptions[1].Message, "#4"); in Cancel_ExceptionOrder() 226 Assert.AreEqual ("1", e.InnerExceptions[2].Message, "#5"); in Cancel_ExceptionOrder() 251 Assert.AreEqual (2, e.InnerExceptions.Count, "#2"); in Cancel_MultipleException_Recursive()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/corlib/Test/System.Threading.Tasks/ |
H A D | ParallelTests.cs | 215 Assert.AreEqual (2, ex.InnerExceptions.Count); in InvokeWithExceptions() 216 foreach (var e in ex.InnerExceptions) in InvokeWithExceptions() 218 Assert.IsTrue (ex.InnerExceptions.Any (e => e.GetType () == typeof (ApplicationException))); in InvokeWithExceptions() 219 Assert.IsTrue (ex.InnerExceptions.Any (e => e.GetType () == typeof (IOException))); in InvokeWithExceptions()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/mscorlib/system/ |
H A D | AggregateException.cs | 315 while (backAsAggregate != null && backAsAggregate.InnerExceptions.Count == 1) in GetBaseException() 327 public ReadOnlyCollection<Exception> InnerExceptions property in System.AggregateException 408 … IList<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions; in Flatten() 470 return InnerExceptions.Count;
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Threading.Tasks/tests/Task/ |
H A D | TaskContinueWith_ContFuncAndActionTests.cs | 333 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase() 357 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase() 387 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_NegativeCases() 412 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_NegativeCases() 436 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_NegativeCases() 467 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_NegativeCases()
|
H A D | TaskContinueWith_ContFuncAndActionWithArgsTests.cs | 574 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase() 597 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase() 627 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_ExceptionCases() 651 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_ExceptionCases() 674 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_ExceptionCases() 704 …catch (AggregateException ex) { if (ex.InnerExceptions[0] is TaskCanceledException) cancel = true;… in RunContinueWithBase_ExceptionCases()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Web.Extensions/System.Web.UI.WebControls/ |
H A D | LinqDataSourceValidationException.cs | 71 InnerExceptions = innerExceptions; in LinqDataSourceValidationException() 82 public IDictionary<string, Exception> InnerExceptions { get; private set; } property in System.Web.UI.WebControls.LinqDataSourceValidationException
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/CoreLib/System/ |
H A D | AggregateException.cs | 297 while (backAsAggregate != null && backAsAggregate.InnerExceptions.Count == 1) in GetBaseException() 309 public ReadOnlyCollection<Exception> InnerExceptions property in System.AggregateException 391 … IList<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions; in Flatten() 480 return InnerExceptions.Count;
|
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/shared/System/ |
H A D | AggregateException.cs | 297 while (backAsAggregate != null && backAsAggregate.InnerExceptions.Count == 1) in GetBaseException() 309 public ReadOnlyCollection<Exception> InnerExceptions property in System.AggregateException 391 … IList<Exception> currentInnerExceptions = exceptionsToFlatten[nDequeueIndex++].InnerExceptions; in Flatten() 480 return InnerExceptions.Count;
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Parallel/tests/ |
H A D | ExchangeTests.cs | 209 Assert.Single(ae.InnerExceptions); in PlinqChunkPartitioner_DontEnumerateAfterException() 210 Assert.All(ae.InnerExceptions, e => Assert.IsType<DeliberateTestException>(e)); in PlinqChunkPartitioner_DontEnumerateAfterException() 230 Assert.Single(ae.InnerExceptions); in ManualChunkPartitioner_DontEnumerateAfterException() 231 Assert.All(ae.InnerExceptions, e => Assert.IsType<DeliberateTestException>(e)); in ManualChunkPartitioner_DontEnumerateAfterException()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Web.Extensions/ui/WebControls/ |
H A D | LinqDataSourceValidationException.cs | 45 public IDictionary<string, Exception> InnerExceptions { property in System.Web.UI.WebControls.LinqDataSourceValidationException 61 … info.AddValue("InnerExceptions", InnerExceptions, typeof(IDictionary<string, Exception>)); in GetObjectData()
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Core/System/Linq/Parallel/Scheduling/ |
H A D | QueryTaskGroupState.cs | 119 for (int i = 0; i < flattenedAE.InnerExceptions.Count; i++) in QueryEnd() 121 … OperationCanceledException oce = flattenedAE.InnerExceptions[i] as OperationCanceledException; in QueryEnd()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Parallel/src/System/Linq/Parallel/Scheduling/ |
H A D | QueryTaskGroupState.cs | 113 for (int i = 0; i < flattenedAE.InnerExceptions.Count; i++) in QueryEnd() 115 … OperationCanceledException oce = flattenedAE.InnerExceptions[i] as OperationCanceledException; in QueryEnd()
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Parallel/tests/Helpers/ |
H A D | AssertThrows.cs | 77 Assert.All(ae.InnerExceptions, e => Assert.IsType<T>(e)); 78 return ae.InnerExceptions.Cast<T>().First();
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Data.SqlClient/tests/StressTests/System.Data.StressFramework/ |
H A D | AsyncUtils.cs | 106 if ((ae.InnerExceptions != null) && (ae.InnerExceptions.Count == 1)) in WaitAndUnwrapException()
|