89 references to CurrentFrame
PresentationFramework (89)
System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
235
get { return _context.
CurrentFrame
!= null; }
255
_context.
CurrentFrame
.IsDeferredContent = true;
379
Baml2006ReaderFrame baseFrame = _context.
CurrentFrame
;
382
while (baseFrame != _context.
CurrentFrame
)
741
bool shouldInjectContentProperty = _context.
CurrentFrame
.Member == null;
745
if (_context.
CurrentFrame
.XamlType.ContentProperty != null)
749
_xamlNodesWriter.WriteStartMember(_context.
CurrentFrame
.XamlType.ContentProperty);
785
bool 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);
976
if (_context.
CurrentFrame
.IsDeferredContent)
982
_context.
CurrentFrame
.Key = key;
1000
if (_context.
CurrentFrame
.IsDeferredContent)
1006
_context.
CurrentFrame
.Key = key;
1051
_context.
CurrentFrame
.Member != XamlLanguage.PositionalParameters)
1053
if (_context.
CurrentFrame
.XamlType != null && _context.
CurrentFrame
.XamlType.IsCollection)
1055
if (!_context.
CurrentFrame
.XamlType.IsWhitespaceSignificantCollection)
1062
if (_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;
1134
if (_root != null && _context.
CurrentFrame
.Depth == 0)
1153
_context.
CurrentFrame
.XamlType = type;
1192
_xamlNodesWriter.WriteStartObject(_context.
CurrentFrame
.XamlType);
1196
if (_context.
CurrentFrame
.Depth == 1)
1246
if (_context.
CurrentFrame
.Key != null)
1250
KeyRecord keyRecord = _context.
CurrentFrame
.Key;
1277
_context.
CurrentFrame
.Key = null;
1280
if (_context.
CurrentFrame
.DelayedConnectionId != -1)
1285
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId);
1289
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS));
1296
if (_context.
CurrentFrame
.IsDeferredContent)
1314
_context.
CurrentFrame
.XamlType = type;
1371
if (_context.
CurrentFrame
.XamlType.UnderlyingType == typeof(EventSetter))
1397
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1414
if (_context.
CurrentFrame
.XamlType == null)
1420
if (_context.
CurrentFrame
.Member != null)
1422
throw new XamlParseException(SR.Format(SR.PropertyOutOfOrder, _context.
CurrentFrame
.Member));
1497
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1514
serializerTypeId, property, _context.
CurrentFrame
.XamlType));
1530
converter = new EnumConverter(_context.
CurrentFrame
.XamlType.UnderlyingType);
1576
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1638
XamlMember property = GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1853
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1883
XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1973
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1975
_context.
CurrentFrame
.Member = property;
1984
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1986
_context.
CurrentFrame
.Member = property;
1994
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1996
_context.
CurrentFrame
.Member = property;
2004
_context.
CurrentFrame
.Member = null;
2012
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2019
_context.
CurrentFrame
.Member = null;
2031
Baml2006ReaderFrame currentFrame = _context.
CurrentFrame
;
2115
Debug.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;
2258
if (_context.
CurrentFrame
.Member != null)
2263
Baml2006ReaderFrame frame = _context.
CurrentFrame
;
2320
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.IsImplict)
2328
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2331
if (_context.
CurrentFrame
.Depth == _context.TemplateStartDepth)
2344
_context.
CurrentFrame
.Member = null;
2345
_context.
CurrentFrame
.Flags = Baml2006ReaderFrameFlags.None;
2353
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2358
XamlType parentType = _context.
CurrentFrame
.XamlType;
2359
XamlMember parentProperty = _context.
CurrentFrame
.Member;
2367
if (_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;
2442
else if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2470
_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.
CurrentFrame
.Depth;
2485
EmitGoItemsPreamble(_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);
2724
get { return _context.
CurrentFrame
.FreezeFreezables; }
2725
set { _context.
CurrentFrame
.FreezeFreezables = value; }
2733
get { return _context.
CurrentFrame
.FreezeFreezables; }
System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
29
CurrentFrame
.FreezeFreezables = PreviousFrame.FreezeFreezables;