1 write to _context
System.Xaml (1)
System\Xaml\Parser\XamlPullParser.cs (1)
22
_context
= context;
72 references to _context
System.Xaml (72)
System\Xaml\Parser\XamlPullParser.cs (72)
262
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty ||
_context
.CurrentInUnknownContent)
266
if (
_context
.CurrentInCollectionFromMember)
270
_context
.CurrentInCollectionFromMember = false;
271
if (
_context
.CurrentInImplicitArray)
273
_context
.CurrentInImplicitArray = false;
283
XamlType currentType =
_context
.CurrentType;
407
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty)
411
if (
_context
.CurrentInCollectionFromMember)
414
_context
.CurrentInCollectionFromMember = false;
415
if (
_context
.CurrentInImplicitArray)
417
_context
.CurrentInImplicitArray = false;
451
XamlType currentType =
_context
.CurrentType;
506
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
520
else if (!
_context
.CurrentForcedToUseConstructor
544
if (isContentProperty && !
_context
.CurrentInUnknownContent)
549
bool isVisible =
_context
.IsVisible(
550
contentProperty,
_context
.CurrentTypeIsRoot ?
_context
.CurrentType : null);
637
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
717
&&
_context
.CurrentMember.TypeConverter is not null)
725
if (!
_context
.CurrentInCollectionFromMember)
817
_context
.PushScope();
818
_context
.CurrentType = xamlType;
819
_context
.CurrentTypeNamespace = xamlNamespace;
827
XamlType xamlType =
_context
.CurrentType;
829
_context
.PopScope();
830
_context
.CurrentPreviousChildType = xamlType;
843
_context
.CurrentForcedToUseConstructor = true;
851
MePullParser me = new MePullParser(
_context
);
874
_context
.CurrentMember = member;
877
_context
.CurrentForcedToUseConstructor = true;
881
_context
.CurrentInContainerDirective = member.IsDirective && (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.IsDictionary));
889
_context
.CurrentMember = null;
890
_context
.CurrentPreviousChildType = null;
891
_context
.CurrentInContainerDirective = false;
902
_context
.CurrentMember = property;
912
_context
.CurrentMember = initProperty;
936
XamlType previousObject =
_context
.CurrentPreviousChildType;
959
_context
.PushScope();
960
_context
.CurrentType = realType;
961
_context
.CurrentInCollectionFromMember = true;
969
_context
.CurrentMember = XamlLanguage.Items;
970
_context
.CurrentInContainerDirective = true;
986
_arrayExtensionType =
_context
.GetXamlType(arrayType);
1000
_arrayTypeMember =
_context
.GetXamlProperty(ArrayExtensionType, @"Type", null);
1014
_itemsTypeMember =
_context
.GetXamlProperty(ArrayExtensionType, @"Items", null);
1024
XamlType currentType =
_context
.CurrentType;
1025
XamlMember currentProperty =
_context
.CurrentMember;
1037
INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces,
_context
.FindNamespaceByPrefix);
1046
_context
.CurrentInImplicitArray = true;
1054
currentType =
_context
.CurrentType;
1055
currentProperty =
_context
.CurrentMember;
1067
if (currentProperty.IsReadOnly || !
_context
.CurrentMemberIsWriteVisible())
1134
if (
_context
.CurrentMember is not null &&
_context
.CurrentMember.IsUnknown)
1138
else if (
_context
.CurrentInContainerDirective)
1140
XamlType collectionType =
_context
.CurrentMember == XamlLanguage.Items ?
_context
.CurrentType :
_context
.CurrentMember.Type;
1152
XamlMember prop =
_context
.CurrentMember;
1157
prop =
_context
.CurrentType.ContentProperty;
1165
if (prop is null &&
_context
.CurrentType.IsWhitespaceSignificantCollection)
1177
if (
_context
.CurrentPreviousChildType is null)
1184
else if (
_context
.CurrentType.ContentProperty is not null)
1186
prop =
_context
.CurrentType.ContentProperty;
1204
else if (
_context
.CurrentType.TypeConverter is not null && !
_context
.CurrentForcedToUseConstructor)