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)
287
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty ||
_context
.CurrentInUnknownContent)
291
if (
_context
.CurrentInCollectionFromMember)
295
_context
.CurrentInCollectionFromMember = false;
296
if (
_context
.CurrentInImplicitArray)
298
_context
.CurrentInImplicitArray = false;
308
XamlType currentType =
_context
.CurrentType;
432
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty)
436
if (
_context
.CurrentInCollectionFromMember)
439
_context
.CurrentInCollectionFromMember = false;
440
if (
_context
.CurrentInImplicitArray)
442
_context
.CurrentInImplicitArray = false;
476
XamlType currentType =
_context
.CurrentType;
531
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
545
else if (!
_context
.CurrentForcedToUseConstructor
569
if (isContentProperty && !
_context
.CurrentInUnknownContent)
574
bool isVisible =
_context
.IsVisible(
575
contentProperty,
_context
.CurrentTypeIsRoot ?
_context
.CurrentType : null);
662
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
742
&&
_context
.CurrentMember.TypeConverter is not null)
750
if (!
_context
.CurrentInCollectionFromMember)
842
_context
.PushScope();
843
_context
.CurrentType = xamlType;
844
_context
.CurrentTypeNamespace = xamlNamespace;
852
XamlType xamlType =
_context
.CurrentType;
854
_context
.PopScope();
855
_context
.CurrentPreviousChildType = xamlType;
868
_context
.CurrentForcedToUseConstructor = true;
876
MePullParser 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;
961
XamlType 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);
1049
XamlType currentType =
_context
.CurrentType;
1050
XamlMember currentProperty =
_context
.CurrentMember;
1062
INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces,
_context
.FindNamespaceByPrefix);
1071
_context
.CurrentInImplicitArray = true;
1079
currentType =
_context
.CurrentType;
1080
currentProperty =
_context
.CurrentMember;
1092
if (currentProperty.IsReadOnly || !
_context
.CurrentMemberIsWriteVisible())
1159
if (
_context
.CurrentMember is not null &&
_context
.CurrentMember.IsUnknown)
1163
else if (
_context
.CurrentInContainerDirective)
1165
XamlType collectionType =
_context
.CurrentMember == XamlLanguage.Items ?
_context
.CurrentType :
_context
.CurrentMember.Type;
1177
XamlMember prop =
_context
.CurrentMember;
1182
prop =
_context
.CurrentType.ContentProperty;
1190
if (prop is null &&
_context
.CurrentType.IsWhitespaceSignificantCollection)
1202
if (
_context
.CurrentPreviousChildType is null)
1209
else if (
_context
.CurrentType.ContentProperty is not null)
1211
prop =
_context
.CurrentType.ContentProperty;
1229
else if (
_context
.CurrentType.TypeConverter is not null && !
_context
.CurrentForcedToUseConstructor)