89 references to CurrentFrame
PresentationFramework (89)
src\Framework\System\Windows\Markup\Baml2006\Baml2006Reader.cs (88)
252
get { return _context.
CurrentFrame
!= null; }
272
_context.
CurrentFrame
.IsDeferredContent = true;
397
Baml2006ReaderFrame baseFrame = _context.
CurrentFrame
;
400
while (baseFrame != _context.
CurrentFrame
)
759
bool shouldInjectContentProperty = _context.
CurrentFrame
.Member == null;
763
if (_context.
CurrentFrame
.XamlType.ContentProperty != null)
767
_xamlNodesWriter.WriteStartMember(_context.
CurrentFrame
.XamlType.ContentProperty);
803
bool 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);
997
if (_context.
CurrentFrame
.IsDeferredContent)
1003
_context.
CurrentFrame
.Key = key;
1021
if (_context.
CurrentFrame
.IsDeferredContent)
1027
_context.
CurrentFrame
.Key = key;
1073
_context.
CurrentFrame
.Member != XamlLanguage.PositionalParameters)
1075
if (_context.
CurrentFrame
.XamlType != null && _context.
CurrentFrame
.XamlType.IsCollection)
1077
if (!_context.
CurrentFrame
.XamlType.IsWhitespaceSignificantCollection)
1084
if (_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;
1146
if (_root != null && _context.
CurrentFrame
.Depth == 0)
1166
_context.
CurrentFrame
.XamlType = type;
1206
_xamlNodesWriter.WriteStartObject(_context.
CurrentFrame
.XamlType);
1210
if (_context.
CurrentFrame
.Depth == 1)
1260
if (_context.
CurrentFrame
.Key != null)
1264
KeyRecord keyRecord = _context.
CurrentFrame
.Key;
1291
_context.
CurrentFrame
.Key = null;
1294
if (_context.
CurrentFrame
.DelayedConnectionId != -1)
1299
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId);
1303
_xamlNodesWriter.WriteValue(_context.
CurrentFrame
.DelayedConnectionId.ToString(System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS));
1310
if (_context.
CurrentFrame
.IsDeferredContent)
1328
_context.
CurrentFrame
.XamlType = type;
1385
if (_context.
CurrentFrame
.XamlType.UnderlyingType == typeof(EventSetter))
1411
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1428
if (_context.
CurrentFrame
.XamlType == null)
1434
if (_context.
CurrentFrame
.Member != null)
1436
throw new XamlParseException(SR.Get(SRID.PropertyOutOfOrder, _context.
CurrentFrame
.Member));
1511
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1529
serializerTypeId, property, _context.
CurrentFrame
.XamlType));
1545
converter = new EnumConverter(_context.
CurrentFrame
.XamlType.UnderlyingType);
1591
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1653
XamlMember property = GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1870
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1901
XamlMember property = _context.SchemaContext.GetProperty(propertyId, _context.
CurrentFrame
.XamlType);
1993
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
1995
_context.
CurrentFrame
.Member = property;
2004
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
2006
_context.
CurrentFrame
.Member = property;
2014
XamlMember property = GetProperty(_binaryReader.ReadInt16(), _context.
CurrentFrame
.XamlType);
2016
_context.
CurrentFrame
.Member = property;
2024
_context.
CurrentFrame
.Member = null;
2032
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2039
_context.
CurrentFrame
.Member = null;
2051
Baml2006ReaderFrame currentFrame = _context.
CurrentFrame
;
2137
Debug.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;
2282
if (_context.
CurrentFrame
.Member != null)
2287
Baml2006ReaderFrame frame = _context.
CurrentFrame
;
2344
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.IsImplict)
2352
if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2355
if (_context.
CurrentFrame
.Depth == _context.TemplateStartDepth)
2368
_context.
CurrentFrame
.Member = null;
2369
_context.
CurrentFrame
.Flags = Baml2006ReaderFrameFlags.None;
2377
if (_lookingForAKeyOnAMarkupExtensionInADictionaryDepth == _context.
CurrentFrame
.Depth)
2382
XamlType parentType = _context.
CurrentFrame
.XamlType;
2383
XamlMember parentProperty = _context.
CurrentFrame
.Member;
2391
if (_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;
2466
else if (_context.
CurrentFrame
.Flags == Baml2006ReaderFrameFlags.HasImplicitProperty)
2494
_lookingForAKeyOnAMarkupExtensionInADictionaryDepth = _context.
CurrentFrame
.Depth;
2509
EmitGoItemsPreamble(_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);
2748
get { return _context.
CurrentFrame
.FreezeFreezables; }
2749
set { _context.
CurrentFrame
.FreezeFreezables = value; }
2757
get { return _context.
CurrentFrame
.FreezeFreezables; }
src\Framework\System\Windows\Markup\Baml2006\Baml2006ReaderContext.cs (1)
28
CurrentFrame
.FreezeFreezables = PreviousFrame.FreezeFreezables;