63 references to ElementContextType
PresentationBuildTasks (63)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (63)
261
ElementContextType
contextType = context.ContextType;
266
case
ElementContextType
.PropertyIList:
267
case
ElementContextType
.PropertyIDictionary:
268
case
ElementContextType
.PropertyArray:
272
case
ElementContextType
.Unknown:
276
case
ElementContextType
.Default:
277
case
ElementContextType
.PropertyComplex:
633
(ParentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
1158
ElementContextType
parentType = ParentContext.ContextType;
1162
if (
ElementContextType
.Default != parentType &&
1163
ElementContextType
.Unknown != parentType )
1454
public
ElementContextType
ContextType
1643
ElementContextType
_contextType;
1967
elementContextStackData.ContextType =
ElementContextType
.Default;
1974
CpaStackData.ContextType =
ElementContextType
.Default;
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;
3121
if (
ElementContextType
.PropertyIDictionary != pct
3123
&& (
ElementContextType
.Unknown != pct) // Compile 1st pass
3657
CurrentContext.ContextType =
ElementContextType
.Default;
3726
CurrentContext.ContextType =
ElementContextType
.DefTag;
3741
CurrentContext.ContextType =
ElementContextType
.Unknown;
3763
Debug.Assert(CurrentContext.ContextType ==
ElementContextType
.PropertyComplex ||
3764
CurrentContext.ContextType ==
ElementContextType
.PropertyIList ||
3765
CurrentContext.ContextType ==
ElementContextType
.PropertyIDictionary,
3773
case
ElementContextType
.PropertyComplex:
3777
case
ElementContextType
.PropertyArray:
3781
case
ElementContextType
.PropertyIList:
3785
case
ElementContextType
.PropertyIDictionary:
3789
case
ElementContextType
.Unknown:
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 )
4177
CurrentContext.ContextType =
ElementContextType
.PropertyComplex;
4211
ParentContext.ContextType !=
ElementContextType
.Default ||
4219
CurrentContext.ContextType =
ElementContextType
.PropertyIList;
4241
CurrentContext.ContextType =
ElementContextType
.PropertyIDictionary;
4310
CurrentContext.ContextType =
ElementContextType
.PropertyArray;
4338
CurrentContext.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)
4576
elementContextStackData.ContextType =
ElementContextType
.Default;
4643
case
ElementContextType
.Default:
4644
case
ElementContextType
.Unknown:
4671
case
ElementContextType
.PropertyArray:
4685
case
ElementContextType
.PropertyComplex:
4686
case
ElementContextType
.PropertyIDictionary:
4687
case
ElementContextType
.PropertyIList:
5101
ElementContextType
parentNodeType = CurrentContext.ContextType;
5103
if( parentNodeType ==
ElementContextType
.Default )
5108
else if( parentNodeType ==
ElementContextType
.PropertyComplex )
5113
else if( parentNodeType ==
ElementContextType
.PropertyIList )
5122
else if( parentNodeType ==
ElementContextType
.PropertyArray ||
5123
parentNodeType ==
ElementContextType
.PropertyIDictionary )
5142
Debug.Assert (parentNodeType ==
ElementContextType
.Unknown,