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)
261
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty ||
_context
.CurrentInUnknownContent)
265
if (
_context
.CurrentInCollectionFromMember)
269
_context
.CurrentInCollectionFromMember = false;
270
if (
_context
.CurrentInImplicitArray)
272
_context
.CurrentInImplicitArray = false;
282
XamlType currentType =
_context
.CurrentType;
406
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty)
410
if (
_context
.CurrentInCollectionFromMember)
413
_context
.CurrentInCollectionFromMember = false;
414
if (
_context
.CurrentInImplicitArray)
416
_context
.CurrentInImplicitArray = false;
450
XamlType currentType =
_context
.CurrentType;
505
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
519
else if (!
_context
.CurrentForcedToUseConstructor
543
if (isContentProperty && !
_context
.CurrentInUnknownContent)
548
bool isVisible =
_context
.IsVisible(
549
contentProperty,
_context
.CurrentTypeIsRoot ?
_context
.CurrentType : null);
636
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
716
&&
_context
.CurrentMember.TypeConverter is not null)
724
if (!
_context
.CurrentInCollectionFromMember)
816
_context
.PushScope();
817
_context
.CurrentType = xamlType;
818
_context
.CurrentTypeNamespace = xamlNamespace;
826
XamlType xamlType =
_context
.CurrentType;
828
_context
.PopScope();
829
_context
.CurrentPreviousChildType = xamlType;
842
_context
.CurrentForcedToUseConstructor = true;
850
MePullParser 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;
935
XamlType 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);
1023
XamlType currentType =
_context
.CurrentType;
1024
XamlMember currentProperty =
_context
.CurrentMember;
1036
INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces,
_context
.FindNamespaceByPrefix);
1045
_context
.CurrentInImplicitArray = true;
1053
currentType =
_context
.CurrentType;
1054
currentProperty =
_context
.CurrentMember;
1066
if (currentProperty.IsReadOnly || !
_context
.CurrentMemberIsWriteVisible())
1133
if (
_context
.CurrentMember is not null &&
_context
.CurrentMember.IsUnknown)
1137
else if (
_context
.CurrentInContainerDirective)
1139
XamlType collectionType =
_context
.CurrentMember == XamlLanguage.Items ?
_context
.CurrentType :
_context
.CurrentMember.Type;
1151
XamlMember prop =
_context
.CurrentMember;
1156
prop =
_context
.CurrentType.ContentProperty;
1164
if (prop is null &&
_context
.CurrentType.IsWhitespaceSignificantCollection)
1176
if (
_context
.CurrentPreviousChildType is null)
1183
else if (
_context
.CurrentType.ContentProperty is not null)
1185
prop =
_context
.CurrentType.ContentProperty;
1203
else if (
_context
.CurrentType.TypeConverter is not null && !
_context
.CurrentForcedToUseConstructor)