89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
231get { return _context.CurrentFrame != null; } 251_context.CurrentFrame.IsDeferredContent = true; 375Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 378while (baseFrame != _context.CurrentFrame) 737bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 741if (_context.CurrentFrame.XamlType.ContentProperty != null) 745_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 783bool shouldDropProperty = _context.CurrentFrame.Member == null; 826_context.CurrentFrame.XamlType = type; 940_context.CurrentFrame.IsDeferredContent = true; 954_context.CurrentFrame.Key = new KeyRecord(false, false, 0, value); 976if (_context.CurrentFrame.IsDeferredContent) 982_context.CurrentFrame.Key = key; 1000if (_context.CurrentFrame.IsDeferredContent) 1006_context.CurrentFrame.Key = key; 1051_context.CurrentFrame.Member != XamlLanguage.PositionalParameters) 1053if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 1055if (!_context.CurrentFrame.XamlType.IsWhitespaceSignificantCollection) 1062if (_context.CurrentFrame.Member.Type != null && 1063!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1074_context.CurrentFrame.Member = null; 1082_context.CurrentFrame.Member = XamlLanguage.PositionalParameters; 1134if (_root != null && _context.CurrentFrame.Depth == 0) 1153_context.CurrentFrame.XamlType = type; 1192_xamlNodesWriter.WriteStartObject(_context.CurrentFrame.XamlType); 1196if (_context.CurrentFrame.Depth == 1) 1246if (_context.CurrentFrame.Key != null) 1250KeyRecord keyRecord = _context.CurrentFrame.Key; 1277_context.CurrentFrame.Key = null; 1280if (_context.CurrentFrame.DelayedConnectionId != -1) 1285_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId); 1289_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS)); 1296if (_context.CurrentFrame.IsDeferredContent) 1314_context.CurrentFrame.XamlType = type; 1373if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1399XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1416if (_context.CurrentFrame.XamlType == null) 1422if (_context.CurrentFrame.Member != null) 1424throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1499XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1516serializerTypeId, property, _context.CurrentFrame.XamlType)); 1532converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1578XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1640XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1857XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1887XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1977XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1979_context.CurrentFrame.Member = property; 1988XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1990_context.CurrentFrame.Member = property; 1998XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 2000_context.CurrentFrame.Member = property; 2008_context.CurrentFrame.Member = null; 2016if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2023_context.CurrentFrame.Member = null; 2035Baml2006ReaderFrame currentFrame = _context.CurrentFrame; 2117Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2125_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2246_context.CurrentFrame.ContentProperty = contentProperty; 2254if (_context.CurrentFrame.Member != null) 2259Baml2006ReaderFrame frame = _context.CurrentFrame; 2316if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2324if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2327if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2340_context.CurrentFrame.Member = null; 2341_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2349if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2354XamlType parentType = _context.CurrentFrame.XamlType; 2355XamlMember parentProperty = _context.CurrentFrame.Member; 2363if (_context.CurrentFrame.ContentProperty != null) 2365_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2369_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2375_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2379_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2386_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2395_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2435else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2463_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2478EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2490_context.CurrentFrame.XamlType = parentPropertyType; 2492_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2494_context.CurrentFrame.Member = XamlLanguage.Items; 2495_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2717get { return _context.CurrentFrame.FreezeFreezables; } 2718set { _context.CurrentFrame.FreezeFreezables = value; } 2726get { return _context.CurrentFrame.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
26CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;