12 writes to ContextType
PresentationBuildTasks (12)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (12)
1957
elementContextStackData.
ContextType
= ElementContextType.Default;
1965
ContextType
= ElementContextType.Default
1975
elementContextStackData.
ContextType
= CurrentContext.ContextType;
3650
CurrentContext.
ContextType
= ElementContextType.Default;
3719
CurrentContext.
ContextType
= ElementContextType.DefTag;
3734
CurrentContext.
ContextType
= ElementContextType.Unknown;
4169
CurrentContext.
ContextType
= ElementContextType.PropertyComplex;
4211
CurrentContext.
ContextType
= ElementContextType.PropertyIList;
4233
CurrentContext.
ContextType
= ElementContextType.PropertyIDictionary;
4302
CurrentContext.
ContextType
= ElementContextType.PropertyArray;
4330
CurrentContext.
ContextType
= ElementContextType.Default;
4568
ContextType
= ElementContextType.Default
26 references to ContextType
PresentationBuildTasks (26)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (26)
250
ElementContextType contextType = context.
ContextType
;
622
(ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
1147
ElementContextType parentType = ParentContext.
ContextType
;
1975
elementContextStackData.ContextType = CurrentContext.
ContextType
;
2006
if (CurrentContext != null && CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary)
2074
if (CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
2075
CurrentContext.
ContextType
== ElementContextType.PropertyComplex)
2285
if (CurrentContext.
ContextType
== ElementContextType.Default &&
3114
ElementContextType pct = ParentContext.
ContextType
;
3756
Debug.Assert(CurrentContext.
ContextType
== ElementContextType.PropertyComplex ||
3757
CurrentContext.
ContextType
== ElementContextType.PropertyIList ||
3758
CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary,
3764
switch (CurrentContext.
ContextType
)
3878
else if (ParentContext.
ContextType
== ElementContextType.PropertyComplex)
3956
if (parentTag.
ContextType
== ElementContextType.PropertyComplex ||
3957
parentTag.
ContextType
== ElementContextType.PropertyArray ||
3958
parentTag.
ContextType
== ElementContextType.PropertyIList ||
3959
parentTag.
ContextType
== ElementContextType.PropertyIDictionary)
4203
ParentContext.
ContextType
!= ElementContextType.Default ||
4380
(ParentContext.
ContextType
== ElementContextType.PropertyComplex ||
4381
ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
4382
ParentContext.
ContextType
== ElementContextType.PropertyIList))
4406
if (ParentContext.
ContextType
== ElementContextType.PropertyComplex &&
4476
if (ElementContextType.Default != CurrentContext.
ContextType
)
4634
switch (ParentContext.
ContextType
)
5094
ElementContextType parentNodeType = CurrentContext.
ContextType
;