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)
248
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty ||
_context
.CurrentInUnknownContent)
252
if (
_context
.CurrentInCollectionFromMember)
256
_context
.CurrentInCollectionFromMember = false;
257
if (
_context
.CurrentInImplicitArray)
259
_context
.CurrentInImplicitArray = false;
268
XamlType currentType =
_context
.CurrentType;
383
if (
_context
.CurrentInItemsProperty ||
_context
.CurrentInInitProperty)
387
if (
_context
.CurrentInCollectionFromMember)
390
_context
.CurrentInCollectionFromMember = false;
391
if (
_context
.CurrentInImplicitArray)
393
_context
.CurrentInImplicitArray = false;
425
XamlType currentType =
_context
.CurrentType;
476
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
489
else if (!
_context
.CurrentForcedToUseConstructor
511
if (isContentProperty && !
_context
.CurrentInUnknownContent)
516
bool isVisible =
_context
.IsVisible(
517
contentProperty,
_context
.CurrentTypeIsRoot ?
_context
.CurrentType : null);
602
if (!
_context
.CurrentInItemsProperty && !
_context
.CurrentInUnknownContent)
677
&&
_context
.CurrentMember.TypeConverter is not null)
685
if (!
_context
.CurrentInCollectionFromMember)
776
_context
.PushScope();
777
_context
.CurrentType = xamlType;
778
_context
.CurrentTypeNamespace = xamlNamespace;
786
XamlType xamlType =
_context
.CurrentType;
788
_context
.PopScope();
789
_context
.CurrentPreviousChildType = xamlType;
802
_context
.CurrentForcedToUseConstructor = true;
810
MePullParser me = new MePullParser(
_context
);
832
_context
.CurrentMember = member;
835
_context
.CurrentForcedToUseConstructor = true;
838
_context
.CurrentInContainerDirective = member.IsDirective && (memberXamlType is not null && (memberXamlType.IsCollection || memberXamlType.IsDictionary));
846
_context
.CurrentMember = null;
847
_context
.CurrentPreviousChildType = null;
848
_context
.CurrentInContainerDirective = false;
858
_context
.CurrentMember = property;
868
_context
.CurrentMember = initProperty;
892
XamlType previousObject =
_context
.CurrentPreviousChildType;
914
_context
.PushScope();
915
_context
.CurrentType = realType;
916
_context
.CurrentInCollectionFromMember = true;
924
_context
.CurrentMember = XamlLanguage.Items;
925
_context
.CurrentInContainerDirective = true;
941
_arrayExtensionType =
_context
.GetXamlType(arrayType);
954
_arrayTypeMember =
_context
.GetXamlProperty(ArrayExtensionType, @"Type", null);
967
_itemsTypeMember =
_context
.GetXamlProperty(ArrayExtensionType, @"Items", null);
976
XamlType currentType =
_context
.CurrentType;
977
XamlMember currentProperty =
_context
.CurrentMember;
989
INamespacePrefixLookup prefixResolver = new NamespacePrefixLookup(out newNamespaces,
_context
.FindNamespaceByPrefix);
997
_context
.CurrentInImplicitArray = true;
1005
currentType =
_context
.CurrentType;
1006
currentProperty =
_context
.CurrentMember;
1018
if (currentProperty.IsReadOnly || !
_context
.CurrentMemberIsWriteVisible())
1081
if (
_context
.CurrentMember is not null &&
_context
.CurrentMember.IsUnknown)
1085
else if (
_context
.CurrentInContainerDirective)
1087
XamlType collectionType =
_context
.CurrentMember == XamlLanguage.Items ?
_context
.CurrentType :
_context
.CurrentMember.Type;
1099
XamlMember prop =
_context
.CurrentMember;
1104
prop =
_context
.CurrentType.ContentProperty;
1110
if (prop is null &&
_context
.CurrentType.IsWhitespaceSignificantCollection)
1121
if (
_context
.CurrentPreviousChildType is null)
1127
else if (
_context
.CurrentType.ContentProperty is not null)
1129
prop =
_context
.CurrentType.ContentProperty;
1145
else if (
_context
.CurrentType.TypeConverter is not null && !
_context
.CurrentForcedToUseConstructor)