63 references to ElementContextType
PresentationBuildTasks (63)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (63)
255
ElementContextType
contextType = context.ContextType;
260
case
ElementContextType
.PropertyIList:
261
case
ElementContextType
.PropertyIDictionary:
262
case
ElementContextType
.PropertyArray:
266
case
ElementContextType
.Unknown:
270
case
ElementContextType
.Default:
271
case
ElementContextType
.PropertyComplex:
627
(ParentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
1152
ElementContextType
parentType = ParentContext.ContextType;
1156
if (
ElementContextType
.Default != parentType &&
1157
ElementContextType
.Unknown != parentType )
1448
public
ElementContextType
ContextType
1637
ElementContextType
_contextType;
1961
elementContextStackData.ContextType =
ElementContextType
.Default;
1968
CpaStackData.ContextType =
ElementContextType
.Default;
2008
if (CurrentContext != null && CurrentContext.ContextType ==
ElementContextType
.PropertyIDictionary)
2076
if (CurrentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
2077
CurrentContext.ContextType ==
ElementContextType
.PropertyComplex)
2287
if (CurrentContext.ContextType ==
ElementContextType
.Default &&
3113
ElementContextType
pct = ParentContext.ContextType;
3115
if (
ElementContextType
.PropertyIDictionary != pct
3117
&& (
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)
3958
if ( parentTag.ContextType ==
ElementContextType
.PropertyComplex ||
3959
parentTag.ContextType ==
ElementContextType
.PropertyArray ||
3960
parentTag.ContextType ==
ElementContextType
.PropertyIList ||
3961
parentTag.ContextType ==
ElementContextType
.PropertyIDictionary )
4171
CurrentContext.ContextType =
ElementContextType
.PropertyComplex;
4205
ParentContext.ContextType !=
ElementContextType
.Default ||
4213
CurrentContext.ContextType =
ElementContextType
.PropertyIList;
4235
CurrentContext.ContextType =
ElementContextType
.PropertyIDictionary;
4304
CurrentContext.ContextType =
ElementContextType
.PropertyArray;
4332
CurrentContext.ContextType =
ElementContextType
.Default;
4382
(ParentContext.ContextType ==
ElementContextType
.PropertyComplex ||
4383
ParentContext.ContextType ==
ElementContextType
.PropertyIDictionary ||
4384
ParentContext.ContextType ==
ElementContextType
.PropertyIList))
4408
if (ParentContext.ContextType ==
ElementContextType
.PropertyComplex &&
4479
if (
ElementContextType
.Default != CurrentContext.ContextType)
4570
elementContextStackData.ContextType =
ElementContextType
.Default;
4637
case
ElementContextType
.Default:
4638
case
ElementContextType
.Unknown:
4665
case
ElementContextType
.PropertyArray:
4679
case
ElementContextType
.PropertyComplex:
4680
case
ElementContextType
.PropertyIDictionary:
4681
case
ElementContextType
.PropertyIList:
5095
ElementContextType
parentNodeType = CurrentContext.ContextType;
5097
if( parentNodeType ==
ElementContextType
.Default )
5102
else if( parentNodeType ==
ElementContextType
.PropertyComplex )
5107
else if( parentNodeType ==
ElementContextType
.PropertyIList )
5116
else if( parentNodeType ==
ElementContextType
.PropertyArray ||
5117
parentNodeType ==
ElementContextType
.PropertyIDictionary )
5136
Debug.Assert (parentNodeType ==
ElementContextType
.Unknown,