89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
230get { return _context.CurrentFrame != null; } 250_context.CurrentFrame.IsDeferredContent = true; 374Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 377while (baseFrame != _context.CurrentFrame) 736bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 740if (_context.CurrentFrame.XamlType.ContentProperty != null) 744_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 780bool shouldDropProperty = _context.CurrentFrame.Member == null; 823_context.CurrentFrame.XamlType = type; 935_context.CurrentFrame.IsDeferredContent = true; 949_context.CurrentFrame.Key = new KeyRecord(false, false, 0, value); 971if (_context.CurrentFrame.IsDeferredContent) 977_context.CurrentFrame.Key = key; 995if (_context.CurrentFrame.IsDeferredContent) 1001_context.CurrentFrame.Key = key; 1046_context.CurrentFrame.Member != XamlLanguage.PositionalParameters) 1048if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 1050if (!_context.CurrentFrame.XamlType.IsWhitespaceSignificantCollection) 1057if (_context.CurrentFrame.Member.Type != null && 1058!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1069_context.CurrentFrame.Member = null; 1077_context.CurrentFrame.Member = XamlLanguage.PositionalParameters; 1129if (_root != null && _context.CurrentFrame.Depth == 0) 1148_context.CurrentFrame.XamlType = type; 1187_xamlNodesWriter.WriteStartObject(_context.CurrentFrame.XamlType); 1191if (_context.CurrentFrame.Depth == 1) 1241if (_context.CurrentFrame.Key != null) 1245KeyRecord keyRecord = _context.CurrentFrame.Key; 1272_context.CurrentFrame.Key = null; 1275if (_context.CurrentFrame.DelayedConnectionId != -1) 1280_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId); 1284_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS)); 1291if (_context.CurrentFrame.IsDeferredContent) 1309_context.CurrentFrame.XamlType = type; 1366if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1392XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1409if (_context.CurrentFrame.XamlType == null) 1415if (_context.CurrentFrame.Member != null) 1417throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1492XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1509serializerTypeId, property, _context.CurrentFrame.XamlType)); 1525converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1571XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1633XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1848XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1878XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1968XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1970_context.CurrentFrame.Member = property; 1979XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1981_context.CurrentFrame.Member = property; 1989XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1991_context.CurrentFrame.Member = property; 1999_context.CurrentFrame.Member = null; 2007if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2014_context.CurrentFrame.Member = null; 2026Baml2006ReaderFrame currentFrame = _context.CurrentFrame; 2110Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2118_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2245_context.CurrentFrame.ContentProperty = contentProperty; 2253if (_context.CurrentFrame.Member != null) 2258Baml2006ReaderFrame frame = _context.CurrentFrame; 2315if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2323if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2326if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2339_context.CurrentFrame.Member = null; 2340_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2348if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2353XamlType parentType = _context.CurrentFrame.XamlType; 2354XamlMember parentProperty = _context.CurrentFrame.Member; 2362if (_context.CurrentFrame.ContentProperty != null) 2364_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2368_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2374_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2378_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2385_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2394_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2437else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2465_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2480EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2492_context.CurrentFrame.XamlType = parentPropertyType; 2494_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2496_context.CurrentFrame.Member = XamlLanguage.Items; 2497_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2719get { return _context.CurrentFrame.FreezeFreezables; } 2720set { _context.CurrentFrame.FreezeFreezables = value; } 2728get { return _context.CurrentFrame.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
26CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;