1 write to _context
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
31_context = context;
72 references to _context
System.Xaml (72)
System\Xaml\Parser\XamlPullParser.cs (72)
287if (_context.CurrentInItemsProperty || _context.CurrentInInitProperty || _context.CurrentInUnknownContent) 291if (_context.CurrentInCollectionFromMember) 295_context.CurrentInCollectionFromMember = false; 296if (_context.CurrentInImplicitArray) 298_context.CurrentInImplicitArray = false; 308XamlType currentType = _context.CurrentType; 432if (_context.CurrentInItemsProperty || _context.CurrentInInitProperty) 436if (_context.CurrentInCollectionFromMember) 439_context.CurrentInCollectionFromMember = false; 440if (_context.CurrentInImplicitArray) 442_context.CurrentInImplicitArray = false; 476XamlType currentType = _context.CurrentType; 531if (!_context.CurrentInItemsProperty && !_context.CurrentInUnknownContent) 545else if (!_context.CurrentForcedToUseConstructor 569if (isContentProperty && !_context.CurrentInUnknownContent) 574bool isVisible = _context.IsVisible( 575contentProperty, _context.CurrentTypeIsRoot ? _context.CurrentType : null); 662if (!_context.CurrentInItemsProperty && !_context.CurrentInUnknownContent) 742&& _context.CurrentMember.TypeConverter is not null) 750if (!_context.CurrentInCollectionFromMember) 842_context.PushScope(); 843_context.CurrentType = xamlType; 844_context.CurrentTypeNamespace = xamlNamespace; 852XamlType xamlType = _context.CurrentType; 854_context.PopScope(); 855_context.CurrentPreviousChildType = xamlType; 868_context.CurrentForcedToUseConstructor = true; 876MePullParser me = new MePullParser(_context); 899_context.CurrentMember = member; 902_context.CurrentForcedToUseConstructor = true; 906_context.CurrentInContainerDirective = member.IsDirective && (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.IsDictionary)); 914_context.CurrentMember = null; 915_context.CurrentPreviousChildType = null; 916_context.CurrentInContainerDirective = false; 927_context.CurrentMember = property; 937_context.CurrentMember = initProperty; 961XamlType previousObject = _context.CurrentPreviousChildType; 984_context.PushScope(); 985_context.CurrentType = realType; 986_context.CurrentInCollectionFromMember = true; 994_context.CurrentMember = XamlLanguage.Items; 995_context.CurrentInContainerDirective = true; 1011_arrayExtensionType = _context.GetXamlType(arrayType); 1025_arrayTypeMember = _context.GetXamlProperty(ArrayExtensionType, @"Type", null); 1039_itemsTypeMember = _context.GetXamlProperty(ArrayExtensionType, @"Items", null); 1049XamlType currentType = _context.CurrentType; 1050XamlMember currentProperty = _context.CurrentMember; 1062INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces, _context.FindNamespaceByPrefix); 1071_context.CurrentInImplicitArray = true; 1079currentType = _context.CurrentType; 1080currentProperty = _context.CurrentMember; 1092if (currentProperty.IsReadOnly || !_context.CurrentMemberIsWriteVisible()) 1159if (_context.CurrentMember is not null && _context.CurrentMember.IsUnknown) 1163else if (_context.CurrentInContainerDirective) 1165XamlType collectionType = _context.CurrentMember == XamlLanguage.Items ? _context.CurrentType : _context.CurrentMember.Type; 1177XamlMember prop = _context.CurrentMember; 1182prop = _context.CurrentType.ContentProperty; 1190if (prop is null && _context.CurrentType.IsWhitespaceSignificantCollection) 1202if (_context.CurrentPreviousChildType is null) 1209else if (_context.CurrentType.ContentProperty is not null) 1211prop = _context.CurrentType.ContentProperty; 1229else if (_context.CurrentType.TypeConverter is not null && !_context.CurrentForcedToUseConstructor)