12 writes to ContextType
PresentationBuildTasks (12)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (12)
1967
elementContextStackData.
ContextType
= ElementContextType.Default;
1974
CpaStackData.
ContextType
= ElementContextType.Default;
1983
elementContextStackData.
ContextType
= CurrentContext.ContextType;
3657
CurrentContext.
ContextType
= ElementContextType.Default;
3726
CurrentContext.
ContextType
= ElementContextType.DefTag;
3741
CurrentContext.
ContextType
= ElementContextType.Unknown;
4177
CurrentContext.
ContextType
= ElementContextType.PropertyComplex;
4219
CurrentContext.
ContextType
= ElementContextType.PropertyIList;
4241
CurrentContext.
ContextType
= ElementContextType.PropertyIDictionary;
4310
CurrentContext.
ContextType
= ElementContextType.PropertyArray;
4338
CurrentContext.
ContextType
= ElementContextType.Default;
4576
elementContextStackData.
ContextType
= ElementContextType.Default;
26 references to ContextType
PresentationBuildTasks (26)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (26)
261
ElementContextType contextType = context.
ContextType
;
633
(ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
1158
ElementContextType parentType = ParentContext.
ContextType
;
1983
elementContextStackData.ContextType = CurrentContext.
ContextType
;
2014
if (CurrentContext != null && CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary)
2082
if (CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
2083
CurrentContext.
ContextType
== ElementContextType.PropertyComplex)
2293
if (CurrentContext.
ContextType
== ElementContextType.Default &&
3119
ElementContextType pct = ParentContext.
ContextType
;
3763
Debug.Assert(CurrentContext.
ContextType
== ElementContextType.PropertyComplex ||
3764
CurrentContext.
ContextType
== ElementContextType.PropertyIList ||
3765
CurrentContext.
ContextType
== ElementContextType.PropertyIDictionary,
3771
switch (CurrentContext.
ContextType
)
3885
else if (ParentContext.
ContextType
== ElementContextType.PropertyComplex)
3964
if ( parentTag.
ContextType
== ElementContextType.PropertyComplex ||
3965
parentTag.
ContextType
== ElementContextType.PropertyArray ||
3966
parentTag.
ContextType
== ElementContextType.PropertyIList ||
3967
parentTag.
ContextType
== ElementContextType.PropertyIDictionary )
4211
ParentContext.
ContextType
!= ElementContextType.Default ||
4388
(ParentContext.
ContextType
== ElementContextType.PropertyComplex ||
4389
ParentContext.
ContextType
== ElementContextType.PropertyIDictionary ||
4390
ParentContext.
ContextType
== ElementContextType.PropertyIList))
4414
if (ParentContext.
ContextType
== ElementContextType.PropertyComplex &&
4485
if (ElementContextType.Default != CurrentContext.
ContextType
)
4641
switch (ParentContext.
ContextType
)
5101
ElementContextType parentNodeType = CurrentContext.
ContextType
;