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)
45if (_currentFrame is null) 61T lastFrame = _currentFrame; 63_currentFrame.Previous = lastFrame; 68get { return _currentFrame; } 73get { return (T)_currentFrame.Previous; } 78get { return (T)_currentFrame.Previous.Previous; } 83T iteratorFrame = _currentFrame; 103T lastFrame = _currentFrame; 106_currentFrame.Previous = lastFrame; 118T frameToRecycle = _currentFrame; 119_currentFrame = (T)_currentFrame.Previous; 143T iteratorFrame = _currentFrame; 144sb.AppendLine(CultureInfo.InvariantCulture, $"Stack: {(_currentFrame is null ? -1 : _currentFrame.Depth + 1)} frames"); 145ShowFrame(sb, _currentFrame);