89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
235get { return _context.CurrentFrame != null; } 255_context.CurrentFrame.IsDeferredContent = true; 379Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 382while (baseFrame != _context.CurrentFrame) 741bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 745if (_context.CurrentFrame.XamlType.ContentProperty != null) 749_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 785bool shouldDropProperty = _context.CurrentFrame.Member == null; 828_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; 1371if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1397XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1414if (_context.CurrentFrame.XamlType == null) 1420if (_context.CurrentFrame.Member != null) 1422throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1497XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1514serializerTypeId, property, _context.CurrentFrame.XamlType)); 1530converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1576XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1638XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1853XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1883XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1973XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1975_context.CurrentFrame.Member = property; 1984XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1986_context.CurrentFrame.Member = property; 1994XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1996_context.CurrentFrame.Member = property; 2004_context.CurrentFrame.Member = null; 2012if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2019_context.CurrentFrame.Member = null; 2031Baml2006ReaderFrame currentFrame = _context.CurrentFrame; 2115Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2123_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2250_context.CurrentFrame.ContentProperty = contentProperty; 2258if (_context.CurrentFrame.Member != null) 2263Baml2006ReaderFrame frame = _context.CurrentFrame; 2320if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2328if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2331if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2344_context.CurrentFrame.Member = null; 2345_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2353if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2358XamlType parentType = _context.CurrentFrame.XamlType; 2359XamlMember parentProperty = _context.CurrentFrame.Member; 2367if (_context.CurrentFrame.ContentProperty != null) 2369_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2373_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2379_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2383_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2390_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2399_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2442else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2470_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2485EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2497_context.CurrentFrame.XamlType = parentPropertyType; 2499_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2501_context.CurrentFrame.Member = XamlLanguage.Items; 2502_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2724get { return _context.CurrentFrame.FreezeFreezables; } 2725set { _context.CurrentFrame.FreezeFreezables = value; } 2733get { return _context.CurrentFrame.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
29CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;