89 references to CurrentFrame
PresentationFramework (89)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
252get { return _context.CurrentFrame != null; } 272_context.CurrentFrame.IsDeferredContent = true; 397Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 400while (baseFrame != _context.CurrentFrame) 759bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 763if (_context.CurrentFrame.XamlType.ContentProperty != null) 767_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 803bool shouldDropProperty = _context.CurrentFrame.Member == null; 849_context.CurrentFrame.XamlType = type; 961_context.CurrentFrame.IsDeferredContent = true; 975_context.CurrentFrame.Key = new KeyRecord(false, false, 0, value); 997if (_context.CurrentFrame.IsDeferredContent) 1003_context.CurrentFrame.Key = key; 1021if (_context.CurrentFrame.IsDeferredContent) 1027_context.CurrentFrame.Key = key; 1073_context.CurrentFrame.Member != XamlLanguage.PositionalParameters) 1075if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 1077if (!_context.CurrentFrame.XamlType.IsWhitespaceSignificantCollection) 1084if (_context.CurrentFrame.Member.Type != null && 1085!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1096_context.CurrentFrame.Member = null; 1104_context.CurrentFrame.Member = XamlLanguage.PositionalParameters; 1146if (_root != null && _context.CurrentFrame.Depth == 0) 1166_context.CurrentFrame.XamlType = type; 1206_xamlNodesWriter.WriteStartObject(_context.CurrentFrame.XamlType); 1210if (_context.CurrentFrame.Depth == 1) 1260if (_context.CurrentFrame.Key != null) 1264KeyRecord keyRecord = _context.CurrentFrame.Key; 1291_context.CurrentFrame.Key = null; 1294if (_context.CurrentFrame.DelayedConnectionId != -1) 1299_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId); 1303_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS)); 1310if (_context.CurrentFrame.IsDeferredContent) 1328_context.CurrentFrame.XamlType = type; 1385if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1411XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1428if (_context.CurrentFrame.XamlType == null) 1434if (_context.CurrentFrame.Member != null) 1436throw new XamlParseException(SR.Get(SRID.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1511XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1529serializerTypeId, property, _context.CurrentFrame.XamlType)); 1545converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1591XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1653XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1870XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1901XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1993XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1995_context.CurrentFrame.Member = property; 2004XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 2006_context.CurrentFrame.Member = property; 2014XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 2016_context.CurrentFrame.Member = property; 2024_context.CurrentFrame.Member = null; 2032if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2039_context.CurrentFrame.Member = null; 2051Baml2006ReaderFrame currentFrame = _context.CurrentFrame; 2137Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2145_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2273_context.CurrentFrame.ContentProperty = contentProperty; 2282if (_context.CurrentFrame.Member != null) 2287Baml2006ReaderFrame frame = _context.CurrentFrame; 2344if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2352if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2355if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2368_context.CurrentFrame.Member = null; 2369_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2377if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2382XamlType parentType = _context.CurrentFrame.XamlType; 2383XamlMember parentProperty = _context.CurrentFrame.Member; 2391if (_context.CurrentFrame.ContentProperty != null) 2393_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2397_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2403_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2407_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2414_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2423_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2466else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2494_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2509EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2521_context.CurrentFrame.XamlType = parentPropertyType; 2523_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2525_context.CurrentFrame.Member = XamlLanguage.Items; 2526_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2748get { return _context.CurrentFrame.FreezeFreezables; } 2749set { _context.CurrentFrame.FreezeFreezables = value; } 2757get { return _context.CurrentFrame.FreezeFreezables; }
src\Framework\System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
28CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;