12 writes to ContextType
PresentationBuildTasks (12)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (12)
1958
elementContextStackData.
ContextType
= ElementContextType.Default;
1966
ContextType
= ElementContextType.Default
1976
elementContextStackData.
ContextType
= CurrentContext.ContextType;
3651
CurrentContext.
ContextType
= ElementContextType.Default;
3720
CurrentContext.
ContextType
= ElementContextType.DefTag;
3735
CurrentContext.
ContextType
= ElementContextType.Unknown;
4170
CurrentContext.
ContextType
= ElementContextType.PropertyComplex;
4212
CurrentContext.
ContextType
= ElementContextType.PropertyIList;
4234
CurrentContext.
ContextType
= ElementContextType.PropertyIDictionary;
4303
CurrentContext.
ContextType
= ElementContextType.PropertyArray;
4331
CurrentContext.
ContextType
= ElementContextType.Default;
4570
ContextType
= ElementContextType.Default
26 references to ContextType
PresentationBuildTasks (26)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (26)
251
ElementContextType contextType = context.
ContextType
;
623
(ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
1148
ElementContextType parentType = ParentContext.
ContextType
;
1976
elementContextStackData.ContextType = CurrentContext.
ContextType
;
2007
if (CurrentContext != null && CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary)
2075
if (CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
2076
CurrentContext.
ContextType
== ElementContextType.PropertyComplex)
2286
if (CurrentContext.
ContextType
== ElementContextType.Default &&
3115
ElementContextType pct = ParentContext.
ContextType
;
3757
Debug.Assert(CurrentContext.
ContextType
== ElementContextType.PropertyComplex ||
3758
CurrentContext.
ContextType
== ElementContextType.PropertyIList ||
3759
CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary,
3765
switch (CurrentContext.
ContextType
)
3879
else if (ParentContext.
ContextType
== ElementContextType.PropertyComplex)
3957
if (parentTag.
ContextType
== ElementContextType.PropertyComplex ||
3958
parentTag.
ContextType
== ElementContextType.PropertyArray ||
3959
parentTag.
ContextType
== ElementContextType.PropertyIList ||
3960
parentTag.
ContextType
== ElementContextType.PropertyIDictionary)
4204
ParentContext.
ContextType
!= ElementContextType.Default ||
4381
(ParentContext.
ContextType
== ElementContextType.PropertyComplex ||
4382
ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
4383
ParentContext.
ContextType
== ElementContextType.PropertyIList))
4407
if (ParentContext.
ContextType
== ElementContextType.PropertyComplex &&
4478
if (ElementContextType.Default != CurrentContext.
ContextType
)
4636
switch (ParentContext.
ContextType
)
5096
ElementContextType parentNodeType = CurrentContext.
ContextType
;