5 writes to _currentFrame
System.Xaml (5)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (5)
36
_currentFrame
= source.CurrentFrame;
47
_currentFrame
= newFrame;
62
_currentFrame
= _creationDelegate();
104
_currentFrame
= _recycledFrame;
119
_currentFrame
= (T)_currentFrame.Previous;
15 references to _currentFrame
System.Xaml (15)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (15)
45
if (
_currentFrame
is null)
61
T lastFrame =
_currentFrame
;
63
_currentFrame
.Previous = lastFrame;
68
get { return
_currentFrame
; }
73
get { return (T)
_currentFrame
.Previous; }
78
get { return (T)
_currentFrame
.Previous.Previous; }
83
T iteratorFrame =
_currentFrame
;
103
T lastFrame =
_currentFrame
;
106
_currentFrame
.Previous = lastFrame;
118
T frameToRecycle =
_currentFrame
;
119
_currentFrame = (T)
_currentFrame
.Previous;
143
T iteratorFrame =
_currentFrame
;
144
sb.AppendLine(CultureInfo.InvariantCulture, $"Stack: {(
_currentFrame
is null ? -1 :
_currentFrame
.Depth + 1)} frames");
145
ShowFrame(sb,
_currentFrame
);