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)
159
if (
_stackFrames
!= null && index < _numOfFrames && index >= 0)
160
return
_stackFrames
[index + _methodsToSkip];
173
if (
_stackFrames
== null || _numOfFrames <= 0)
179
Array.Copy(
_stackFrames
, _methodsToSkip, array, 0, _numOfFrames);
System\Diagnostics\StackTrace.NativeAot.cs (4)
66
_stackFrames
[outputFrameIndex++] = new StackFrame(ipAddress, needFileInfo);
70
_stackFrames
[outputFrameIndex - 1].SetIsLastFrameFromForeignExceptionStackTrace();
83
if (
_stackFrames
!= null)
85
foreach (StackFrame frame in
_stackFrames
)