63 references to ElementContextType
PresentationBuildTasks (63)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (63)
250
ElementContextType
contextType = context.ContextType;
255
case
ElementContextType
.PropertyIList:
256
case
ElementContextType
.PropertyIDictionary:
257
case
ElementContextType
.PropertyArray:
261
case
ElementContextType
.Unknown:
265
case
ElementContextType
.Default:
266
case
ElementContextType
.PropertyComplex:
622
(ParentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
1147
ElementContextType
parentType = ParentContext.ContextType;
1151
if (
ElementContextType
.Default != parentType &&
1152
ElementContextType
.Unknown != parentType )
1443
public
ElementContextType
ContextType
1631
private
ElementContextType
_contextType;
1957
elementContextStackData.ContextType =
ElementContextType
.Default;
1965
ContextType =
ElementContextType
.Default
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;
3116
if (
ElementContextType
.PropertyIDictionary != pct
3118
&& (
ElementContextType
.Unknown != pct) // Compile 1st pass
3650
CurrentContext.ContextType =
ElementContextType
.Default;
3719
CurrentContext.ContextType =
ElementContextType
.DefTag;
3734
CurrentContext.ContextType =
ElementContextType
.Unknown;
3756
Debug.Assert(CurrentContext.ContextType ==
ElementContextType
.PropertyComplex ||
3757
CurrentContext.ContextType ==
ElementContextType
.PropertyIList ||
3758
CurrentContext.ContextType ==
ElementContextType
.PropertyIDictionary,
3766
case
ElementContextType
.PropertyComplex:
3770
case
ElementContextType
.PropertyArray:
3774
case
ElementContextType
.PropertyIList:
3778
case
ElementContextType
.PropertyIDictionary:
3782
case
ElementContextType
.Unknown:
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)
4169
CurrentContext.ContextType =
ElementContextType
.PropertyComplex;
4203
ParentContext.ContextType !=
ElementContextType
.Default ||
4211
CurrentContext.ContextType =
ElementContextType
.PropertyIList;
4233
CurrentContext.ContextType =
ElementContextType
.PropertyIDictionary;
4302
CurrentContext.ContextType =
ElementContextType
.PropertyArray;
4330
CurrentContext.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)
4568
ContextType =
ElementContextType
.Default
4636
case
ElementContextType
.Default:
4637
case
ElementContextType
.Unknown:
4664
case
ElementContextType
.PropertyArray:
4678
case
ElementContextType
.PropertyComplex:
4679
case
ElementContextType
.PropertyIDictionary:
4680
case
ElementContextType
.PropertyIList:
5094
ElementContextType
parentNodeType = CurrentContext.ContextType;
5096
if( parentNodeType ==
ElementContextType
.Default )
5101
else if( parentNodeType ==
ElementContextType
.PropertyComplex )
5106
else if( parentNodeType ==
ElementContextType
.PropertyIList )
5115
else if( parentNodeType ==
ElementContextType
.PropertyArray ||
5116
parentNodeType ==
ElementContextType
.PropertyIDictionary )
5135
Debug.Assert (parentNodeType ==
ElementContextType
.Unknown,