3 writes to _stackFrames
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (2)
130_stackFrames = [frame]; 144_stackFrames = frameList.ToArray();
System\Diagnostics\StackTrace.NativeAot.cs (1)
59_stackFrames = new StackFrame[outputFrameCount];
8 references to _stackFrames
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\StackTrace.cs (4)
159if (_stackFrames != null && index < _numOfFrames && index >= 0) 160return _stackFrames[index + _methodsToSkip]; 173if (_stackFrames == null || _numOfFrames <= 0) 179Array.Copy(_stackFrames, _methodsToSkip, array, 0, _numOfFrames);
System\Diagnostics\StackTrace.NativeAot.cs (4)
66_stackFrames[outputFrameIndex++] = new StackFrame(ipAddress, needFileInfo); 70_stackFrames[outputFrameIndex - 1].SetIsLastFrameFromForeignExceptionStackTrace(); 83if (_stackFrames != null) 85foreach (StackFrame frame in _stackFrames)