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)
127for (int i = 0; i < _innerExceptions.Length; i++) 129_innerExceptions[i] = innerExceptions[i]; 172for (int i = 0; i < _innerExceptions.Length; i++) 174_innerExceptions[i] = innerExceptionInfos[i].SourceException; 175Debug.Assert(_innerExceptions[i] != null); 212info.AddValue("InnerExceptions", _innerExceptions, typeof(Exception[])); // Do not rename (binary serialization) 240public ReadOnlyCollection<Exception> InnerExceptions => _rocView ??= new ReadOnlyCollection<Exception>(_innerExceptions); 267for (int i = 0; i < _innerExceptions.Length; i++) 271if (!predicate(_innerExceptions[i])) 274unhandledExceptions.Add(_innerExceptions[i]); 343if (_innerExceptions.Length == 0) 351for (int i = 0; i < _innerExceptions.Length; i++) 354sb.Append(_innerExceptions[i].Message); 371for (int i = 0; i < _innerExceptions.Length; i++) 373if (_innerExceptions[i] == InnerException) 378text.Append(_innerExceptions[i].ToString()); 395internal int InnerExceptionCount => _innerExceptions.Length; 397internal Exception[] InternalInnerExceptions => _innerExceptions;