89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
234get { return _context.CurrentFrame != null; } 254_context.CurrentFrame.IsDeferredContent = true; 378Baml2006ReaderFrame baseFrame = _context.CurrentFrame; 381while (baseFrame != _context.CurrentFrame) 740bool shouldInjectContentProperty = _context.CurrentFrame.Member == null; 744if (_context.CurrentFrame.XamlType.ContentProperty != null) 748_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.XamlType.ContentProperty); 784bool shouldDropProperty = _context.CurrentFrame.Member == null; 827_context.CurrentFrame.XamlType = type; 939_context.CurrentFrame.IsDeferredContent = true; 953_context.CurrentFrame.Key = new KeyRecord(false, false, 0, value); 975if (_context.CurrentFrame.IsDeferredContent) 981_context.CurrentFrame.Key = key; 999if (_context.CurrentFrame.IsDeferredContent) 1005_context.CurrentFrame.Key = key; 1050_context.CurrentFrame.Member != XamlLanguage.PositionalParameters) 1052if (_context.CurrentFrame.XamlType != null && _context.CurrentFrame.XamlType.IsCollection) 1054if (!_context.CurrentFrame.XamlType.IsWhitespaceSignificantCollection) 1061if (_context.CurrentFrame.Member.Type != null && 1062!_context.CurrentFrame.Member.Type.UnderlyingType.IsAssignableFrom(typeof(String))) 1073_context.CurrentFrame.Member = null; 1081_context.CurrentFrame.Member = XamlLanguage.PositionalParameters; 1133if (_root != null && _context.CurrentFrame.Depth == 0) 1152_context.CurrentFrame.XamlType = type; 1191_xamlNodesWriter.WriteStartObject(_context.CurrentFrame.XamlType); 1195if (_context.CurrentFrame.Depth == 1) 1245if (_context.CurrentFrame.Key != null) 1249KeyRecord keyRecord = _context.CurrentFrame.Key; 1276_context.CurrentFrame.Key = null; 1279if (_context.CurrentFrame.DelayedConnectionId != -1) 1284_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId); 1288_xamlNodesWriter.WriteValue(_context.CurrentFrame.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS)); 1295if (_context.CurrentFrame.IsDeferredContent) 1313_context.CurrentFrame.XamlType = type; 1370if (_context.CurrentFrame.XamlType.UnderlyingType == typeof(EventSetter)) 1396XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1413if (_context.CurrentFrame.XamlType == null) 1419if (_context.CurrentFrame.Member != null) 1421throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.CurrentFrame.Member)); 1496XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1513serializerTypeId, property, _context.CurrentFrame.XamlType)); 1529converter = new EnumConverter(_context.CurrentFrame.XamlType.UnderlyingType); 1575XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1637XamlMember property = GetProperty(propertyId, _context.CurrentFrame.XamlType); 1852XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1882XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.CurrentFrame.XamlType); 1972XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1974_context.CurrentFrame.Member = property; 1983XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1985_context.CurrentFrame.Member = property; 1993XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.CurrentFrame.XamlType); 1995_context.CurrentFrame.Member = property; 2003_context.CurrentFrame.Member = null; 2011if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2018_context.CurrentFrame.Member = null; 2030Baml2006ReaderFrame currentFrame = _context.CurrentFrame; 2114Debug.Assert(_context.CurrentFrame.XamlType != null, "BAML Xmlns record is only legal between ElementStart and ElementEnd"); 2122_context.CurrentFrame.AddNamespace(prefix, xamlNs); 2249_context.CurrentFrame.ContentProperty = contentProperty; 2257if (_context.CurrentFrame.Member != null) 2262Baml2006ReaderFrame frame = _context.CurrentFrame; 2319if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.IsImplict) 2327if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2330if (_context.CurrentFrame.Depth == _context.TemplateStartDepth) 2343_context.CurrentFrame.Member = null; 2344_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.None; 2352if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.CurrentFrame.Depth) 2357XamlType parentType = _context.CurrentFrame.XamlType; 2358XamlMember parentProperty = _context.CurrentFrame.Member; 2366if (_context.CurrentFrame.ContentProperty != null) 2368_context.CurrentFrame.Member = parentProperty = _context.CurrentFrame.ContentProperty; 2372_context.CurrentFrame.Member = parentProperty = parentType.ContentProperty; 2378_context.CurrentFrame.Member = parentProperty = XamlLanguage.Items; 2382_context.CurrentFrame.Member = parentProperty = XamlLanguage.Initialization; 2389_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.HasImplicitProperty; 2398_context.TemplateStartDepth = _context.CurrentFrame.Depth; 2441else if (_context.CurrentFrame.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty) 2469_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.CurrentFrame.Depth; 2484EmitGoItemsPreamble(_context.CurrentFrame.Member.Type); 2496_context.CurrentFrame.XamlType = parentPropertyType; 2498_context.CurrentFrame.Flags = Baml2006ReaderFrameFlags.IsImplict; 2500_context.CurrentFrame.Member = XamlLanguage.Items; 2501_xamlNodesWriter.WriteStartMember(_context.CurrentFrame.Member); 2723get { return _context.CurrentFrame.FreezeFreezables; } 2724set { _context.CurrentFrame.FreezeFreezables = value; } 2732get { return _context.CurrentFrame.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
29CurrentFrame.FreezeFreezables = PreviousFrame.FreezeFreezables;