Home
last modified time | relevance | path

Searched refs:InnerExceptions (Results 1 – 25 of 136) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Threading.Tasks.Dataflow/Test/System.Threading.Tasks.Dataflow/
H A DCompletionTest.cs82 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 DAggregateExceptionTests.cs55 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 DAggregateExceptionTests.cs18 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 DAsyncTests.Single.cs126 …) => 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 DAsyncTests.Multiple.cs56 …) => 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 DAsyncTests.Aggregates.cs69 …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 DAsyncTests.Conversions.cs47 …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 DAsyncTests.Exceptions.cs122 …) => 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 DAsyncTests.Creation.cs79 …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 DTaskSchedulerTests.cs94 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 DEntityDataSourceValidationException.cs83 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 DCancellationTokenSourceTest.cs178 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 DParallelTests.cs215 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 DAggregateException.cs315 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 DTaskContinueWith_ContFuncAndActionTests.cs333 …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 DTaskContinueWith_ContFuncAndActionWithArgsTests.cs574 …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 DLinqDataSourceValidationException.cs71 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 DAggregateException.cs297 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 DAggregateException.cs297 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 DExchangeTests.cs209 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 DLinqDataSourceValidationException.cs45 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 DQueryTaskGroupState.cs119 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 DQueryTaskGroupState.cs113 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 DAssertThrows.cs77 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 DAsyncUtils.cs106 if ((ae.InnerExceptions != null) && (ae.InnerExceptions.Count == 1)) in WaitAndUnwrapException()

123456