75 references to CurrentFrame
System.Xaml (75)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\Xaml\Context\XamlContextStack.cs (6)
30Debug.Assert(CurrentFrame != null); 31Debug.Assert(CurrentFrame.Depth == Depth); 40_currentFrame = source.CurrentFrame; 44T iteratorFrame = source.CurrentFrame; 113Debug.Assert(CurrentFrame.Depth == Depth); 126Debug.Assert(CurrentFrame.Depth == Depth);
System\Xaml\Context\ObjectWriterContext.cs (37)
68_stack.CurrentFrame.NameScopeDictionary = rootNameScopeDictionary; 100_stack.CurrentFrame.NameScopeDictionary = rootNameScopeDictionary; 217_stack.CurrentFrame.AddNamespace(prefix, xamlNS); 223ObjectWriterFrame frame = _stack.CurrentFrame; 238ObjectWriterFrame frame = _stack.CurrentFrame; 280ObjectWriterFrame frame = _stack.CurrentFrame; 321ObjectWriterFrame lowerFrame = _stack.CurrentFrame; 513get { return _stack.CurrentFrame.XamlType; } 514set { _stack.CurrentFrame.XamlType = value; } 529get { return _stack.CurrentFrame.Member; } 530set { _stack.CurrentFrame.Member = value; } 545get { return _stack.CurrentFrame.Instance; } 546set { _stack.CurrentFrame.Instance = value; } 561get { return _stack.CurrentFrame.Collection; } 562set { _stack.CurrentFrame.Collection = value; } 572get { return _stack.CurrentFrame.WasAssignedAtCreation; } 573set { _stack.CurrentFrame.WasAssignedAtCreation = value; } 578get { return _stack.CurrentFrame.IsObjectFromMember; } 579set { _stack.CurrentFrame.IsObjectFromMember = value; } 595set { _stack.CurrentFrame.IsPropertyValueSet = value; } 606get { return _stack.CurrentFrame.IsTypeConvertedObject; } 607set { _stack.CurrentFrame.IsTypeConvertedObject = value; } 612get { return _stack.CurrentFrame.PreconstructionPropertyValues; } 617get { return _stack.CurrentFrame.HasPreconstructionPropertyValuesDictionary; } 627get { return _stack.CurrentFrame.AssignedProperties; } 637get { return _stack.CurrentFrame.InstanceRegisteredName; } 638set { _stack.CurrentFrame.InstanceRegisteredName = value; } 668return LookupNameScopeDictionary((ObjectWriterFrame)_stack.CurrentFrame); 702get { return _stack.CurrentFrame.PositionalCtorArgs; } 703set { _stack.CurrentFrame.PositionalCtorArgs = value; } 708get { return _stack.CurrentFrame.Key; } 713get { return _stack.CurrentFrame.IsKeySet; } 727get { return _stack.CurrentFrame.KeyIsUnconverted; } 728set { _stack.CurrentFrame.KeyIsUnconverted = value; } 782XamlFrame frame = _stack.CurrentFrame; 828var frame = (ObjectWriterFrame)_stack.CurrentFrame; 852var frame = (ObjectWriterFrame)_stack.CurrentFrame;
System\Xaml\Context\SavedContext.cs (1)
29stack.CurrentFrame.Instance = null;
System\Xaml\Context\XamlParserContext.cs (31)
51XamlParserFrame frame = _stack.CurrentFrame; 82XamlParserFrame frame = _stack.CurrentFrame; 148_stack.CurrentFrame.SetNamespaces(_prescopeNamespaces); 193get { return _stack.CurrentFrame.XamlType; } 194set { _stack.CurrentFrame.XamlType = value; } 199get { return _stack.CurrentFrame.BracketModeParseParameters; } 200set { _stack.CurrentFrame.BracketModeParseParameters = value; } 205get { return _stack.CurrentFrame.LongestConstructorOfCurrentMarkupExtensionType; } 206set { _stack.CurrentFrame.LongestConstructorOfCurrentMarkupExtensionType = value; } 211get { return _stack.CurrentFrame.EscapeCharacterMapForMarkupExtension; } 212set { _stack.CurrentFrame.EscapeCharacterMapForMarkupExtension = value; } 219get { return _stack.CurrentFrame.TypeNamespace; } 220set { _stack.CurrentFrame.TypeNamespace = value; } 225get { return _stack.CurrentFrame.InContainerDirective; } 226set { _stack.CurrentFrame.InContainerDirective = value; } 237get { return _stack.CurrentFrame.Member; } 238set { _stack.CurrentFrame.Member = value; } 249get { return _stack.CurrentFrame.CtorArgCount; } 250set { _stack.CurrentFrame.CtorArgCount = value; } 255get { return _stack.CurrentFrame.ForcedToUseConstructor; } 256set { _stack.CurrentFrame.ForcedToUseConstructor = value; } 261get { return _stack.CurrentFrame.Member == XamlLanguage.Items; } 266get { return _stack.CurrentFrame.Member == XamlLanguage.Initialization; } 271get { return _stack.CurrentFrame.Member == XamlLanguage.UnknownContent; } 276get { return _stack.CurrentFrame.InImplicitArray; } 277set { _stack.CurrentFrame.InImplicitArray = value; } 282get { return _stack.CurrentFrame.InCollectionFromMember; } 283set { _stack.CurrentFrame.InCollectionFromMember = value; } 288get { return _stack.CurrentFrame.PreviousChildType; } 289set { _stack.CurrentFrame.PreviousChildType = value; } 304get { return _stack.CurrentFrame.XamlType != null && _stack.Depth == 1; }