1 write to _context
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
21_context = context;
72 references to _context
System.Xaml (72)
System\Xaml\Parser\XamlPullParser.cs (72)
261if (_context.CurrentInItemsProperty || _context.CurrentInInitProperty || _context.CurrentInUnknownContent) 265if (_context.CurrentInCollectionFromMember) 269_context.CurrentInCollectionFromMember = false; 270if (_context.CurrentInImplicitArray) 272_context.CurrentInImplicitArray = false; 282XamlType currentType = _context.CurrentType; 406if (_context.CurrentInItemsProperty || _context.CurrentInInitProperty) 410if (_context.CurrentInCollectionFromMember) 413_context.CurrentInCollectionFromMember = false; 414if (_context.CurrentInImplicitArray) 416_context.CurrentInImplicitArray = false; 450XamlType currentType = _context.CurrentType; 505if (!_context.CurrentInItemsProperty && !_context.CurrentInUnknownContent) 519else if (!_context.CurrentForcedToUseConstructor 543if (isContentProperty && !_context.CurrentInUnknownContent) 548bool isVisible = _context.IsVisible( 549contentProperty, _context.CurrentTypeIsRoot ? _context.CurrentType : null); 636if (!_context.CurrentInItemsProperty && !_context.CurrentInUnknownContent) 716&& _context.CurrentMember.TypeConverter is not null) 724if (!_context.CurrentInCollectionFromMember) 816_context.PushScope(); 817_context.CurrentType = xamlType; 818_context.CurrentTypeNamespace = xamlNamespace; 826XamlType xamlType = _context.CurrentType; 828_context.PopScope(); 829_context.CurrentPreviousChildType = xamlType; 842_context.CurrentForcedToUseConstructor = true; 850MePullParser me = new MePullParser(_context); 873_context.CurrentMember = member; 876_context.CurrentForcedToUseConstructor = true; 880_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.IsDictionary)); 888_context.CurrentMember = null; 889_context.CurrentPreviousChildType = null; 890_context.CurrentInContainerDirective = false; 901_context.CurrentMember = property; 911_context.CurrentMember = initProperty; 935XamlType previousObject = _context.CurrentPreviousChildType; 958_context.PushScope(); 959_context.CurrentType = realType; 960_context.CurrentInCollectionFromMember = true; 968_context.CurrentMember = XamlLanguage.Items; 969_context.CurrentInContainerDirective = true; 985_arrayExtensionType = _context.GetXamlType(arrayType); 999_arrayTypeMember = _context.GetXamlProperty(ArrayExtensionType, @"Type", null); 1013_itemsTypeMember = _context.GetXamlProperty(ArrayExtensionType, @"Items", null); 1023XamlType currentType = _context.CurrentType; 1024XamlMember currentProperty = _context.CurrentMember; 1036INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces, _context.FindNamespaceByPrefix); 1045_context.CurrentInImplicitArray = true; 1053currentType = _context.CurrentType; 1054currentProperty = _context.CurrentMember; 1066if (currentProperty.IsReadOnly || !_context.CurrentMemberIsWriteVisible()) 1133if (_context.CurrentMember is not null && _context.CurrentMember.IsUnknown) 1137else if (_context.CurrentInContainerDirective) 1139XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1151XamlMember prop = _context.CurrentMember; 1156prop = _context.CurrentType.ContentProperty; 1164if (prop is null && _context.CurrentType.IsWhitespaceSignificantCollection) 1176if (_context.CurrentPreviousChildType is null) 1183else if (_context.CurrentType.ContentProperty is not null) 1185prop = _context.CurrentType.ContentProperty; 1203else if (_context.CurrentType.TypeConverter is not null && !_context.CurrentForcedToUseConstructor)