5 writes to _innerExceptions
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (5)
45
_innerExceptions
= Array.Empty<Exception>();
61
_innerExceptions
= [innerException];
125
_innerExceptions
= cloneExceptions ? new Exception[innerExceptions.Length] : innerExceptions;
170
_innerExceptions
= new Exception[innerExceptionInfos.Count];
193
_innerExceptions
= info.GetValue("InnerExceptions", typeof(Exception[])) as Exception[] ?? // Do not rename (binary serialization);
18 references to _innerExceptions
System.Private.CoreLib (18)
src\libraries\System.Private.CoreLib\src\System\AggregateException.cs (18)
127
for (int i = 0; i <
_innerExceptions
.Length; i++)
129
_innerExceptions
[i] = innerExceptions[i];
172
for (int i = 0; i <
_innerExceptions
.Length; i++)
174
_innerExceptions
[i] = innerExceptionInfos[i].SourceException;
175
Debug.Assert(
_innerExceptions
[i] != null);
212
info.AddValue("InnerExceptions",
_innerExceptions
, typeof(Exception[])); // Do not rename (binary serialization)
240
public ReadOnlyCollection<Exception> InnerExceptions => _rocView ??= new ReadOnlyCollection<Exception>(
_innerExceptions
);
267
for (int i = 0; i <
_innerExceptions
.Length; i++)
271
if (!predicate(
_innerExceptions
[i]))
274
unhandledExceptions.Add(
_innerExceptions
[i]);
343
if (
_innerExceptions
.Length == 0)
351
for (int i = 0; i <
_innerExceptions
.Length; i++)
354
sb.Append(
_innerExceptions
[i].Message);
371
for (int i = 0; i <
_innerExceptions
.Length; i++)
373
if (
_innerExceptions
[i] == InnerException)
378
text.Append(
_innerExceptions
[i].ToString());
395
internal int InnerExceptionCount =>
_innerExceptions
.Length;
397
internal Exception[] InternalInnerExceptions =>
_innerExceptions
;