89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
230get { return _context.CurrentFrame != null; } 250_context.CurrentFrame.IsDeferredContent = true; 371Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 374while (baseFrame != _context.CurrentFrame) 733bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 737if (_context.CurrentFrame.XamlType.ContentProperty != null) 741_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 779bool shouldDropProperty = _context.CurrentFrame.Member == null; 822_context.CurrentFrame.XamlType = type; 936_context.CurrentFrame.IsDeferredContent = true; 950_context.CurrentFrame.Key = new KeyRecord(false, false, 0, value); 972if (_context.CurrentFrame.IsDeferredContent) 978_context.CurrentFrame.Key = key; 996if (_context.CurrentFrame.IsDeferredContent) 1002_context.CurrentFrame.Key = key; 1047_context.CurrentFrame.Member != XamlLanguage.PositionalParameters) 1049if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 1051if (!_context.CurrentFrame.XamlType.IsWhitespaceSignificantCollection) 1058if (_context.CurrentFrame.Member.Type != null && 1059!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1070_context.CurrentFrame.Member = null; 1078_context.CurrentFrame.Member = XamlLanguage.PositionalParameters; 1130if (_root != null && _context.CurrentFrame.Depth == 0) 1149_context.CurrentFrame.XamlType = type; 1188_xamlNodesWriter.WriteStartObject(_context.CurrentFrame.XamlType); 1192if (_context.CurrentFrame.Depth == 1) 1242if (_context.CurrentFrame.Key != null) 1246KeyRecord keyRecord = _context.CurrentFrame.Key; 1273_context.CurrentFrame.Key = null; 1276if (_context.CurrentFrame.DelayedConnectionId != -1) 1281_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId); 1285_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS)); 1292if (_context.CurrentFrame.IsDeferredContent) 1310_context.CurrentFrame.XamlType = type; 1369if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1395XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1412if (_context.CurrentFrame.XamlType == null) 1418if (_context.CurrentFrame.Member != null) 1420throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1495XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1512serializerTypeId, property, _context.CurrentFrame.XamlType)); 1528converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1574XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1636XamlMember 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; 2113Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2121_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2242_context.CurrentFrame.ContentProperty = contentProperty; 2250if (_context.CurrentFrame.Member != null) 2255Baml2006ReaderFrame frame = _context.CurrentFrame; 2312if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2320if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2323if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2336_context.CurrentFrame.Member = null; 2337_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2345if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2350XamlType parentType = _context.CurrentFrame.XamlType; 2351XamlMember parentProperty = _context.CurrentFrame.Member; 2359if (_context.CurrentFrame.ContentProperty != null) 2361_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2365_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2371_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2375_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2382_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2391_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2431else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2459_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2474EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2486_context.CurrentFrame.XamlType = parentPropertyType; 2488_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2490_context.CurrentFrame.Member = XamlLanguage.Items; 2491_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2713get { return _context.CurrentFrame.FreezeFreezables; } 2714set { _context.CurrentFrame.FreezeFreezables = value; } 2722get { return _context.CurrentFrame.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
25CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;