63 references to ElementContextType
PresentationBuildTasks (63)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (63)
251
ElementContextType
contextType = context.ContextType;
256
case
ElementContextType
.PropertyIList:
257
case
ElementContextType
.PropertyIDictionary:
258
case
ElementContextType
.PropertyArray:
262
case
ElementContextType
.Unknown:
266
case
ElementContextType
.Default:
267
case
ElementContextType
.PropertyComplex:
623
(ParentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
1148
ElementContextType
parentType = ParentContext.ContextType;
1152
if (
ElementContextType
.Default != parentType &&
1153
ElementContextType
.Unknown != parentType )
1444
public
ElementContextType
ContextType
1632
ElementContextType
_contextType;
1958
elementContextStackData.ContextType =
ElementContextType
.Default;
1966
ContextType =
ElementContextType
.Default
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;
3117
if (
ElementContextType
.PropertyIDictionary != pct
3119
&& (
ElementContextType
.Unknown != pct) // Compile 1st pass
3651
CurrentContext.ContextType =
ElementContextType
.Default;
3720
CurrentContext.ContextType =
ElementContextType
.DefTag;
3735
CurrentContext.ContextType =
ElementContextType
.Unknown;
3757
Debug.Assert(CurrentContext.ContextType ==
ElementContextType
.PropertyComplex ||
3758
CurrentContext.ContextType ==
ElementContextType
.PropertyIList ||
3759
CurrentContext.ContextType ==
ElementContextType
.PropertyIDictionary,
3767
case
ElementContextType
.PropertyComplex:
3771
case
ElementContextType
.PropertyArray:
3775
case
ElementContextType
.PropertyIList:
3779
case
ElementContextType
.PropertyIDictionary:
3783
case
ElementContextType
.Unknown:
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)
4170
CurrentContext.ContextType =
ElementContextType
.PropertyComplex;
4204
ParentContext.ContextType !=
ElementContextType
.Default ||
4212
CurrentContext.ContextType =
ElementContextType
.PropertyIList;
4234
CurrentContext.ContextType =
ElementContextType
.PropertyIDictionary;
4303
CurrentContext.ContextType =
ElementContextType
.PropertyArray;
4331
CurrentContext.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)
4570
ContextType =
ElementContextType
.Default
4638
case
ElementContextType
.Default:
4639
case
ElementContextType
.Unknown:
4666
case
ElementContextType
.PropertyArray:
4680
case
ElementContextType
.PropertyComplex:
4681
case
ElementContextType
.PropertyIDictionary:
4682
case
ElementContextType
.PropertyIList:
5096
ElementContextType
parentNodeType = CurrentContext.ContextType;
5098
if( parentNodeType ==
ElementContextType
.Default )
5103
else if( parentNodeType ==
ElementContextType
.PropertyComplex )
5108
else if( parentNodeType ==
ElementContextType
.PropertyIList )
5117
else if( parentNodeType ==
ElementContextType
.PropertyArray ||
5118
parentNodeType ==
ElementContextType
.PropertyIDictionary )
5137
Debug.Assert (parentNodeType ==
ElementContextType
.Unknown,