63 references to ElementContextType
PresentationBuildTasks (63)
Framework\System\Windows\Markup\XamlReaderHelper.cs (63)
267ElementContextType contextType = context.ContextType; 272case ElementContextType.PropertyIList: 273case ElementContextType.PropertyIDictionary: 274case ElementContextType.PropertyArray: 278case ElementContextType.Unknown: 282case ElementContextType.Default: 283case ElementContextType.PropertyComplex: 639(ParentContext.ContextType == ElementContextType.PropertyIDictionary || 1160ElementContextType parentType = ParentContext.ContextType; 1164if (ElementContextType.Default != parentType && 1165ElementContextType.Unknown != parentType ) 1458public ElementContextType ContextType 1647ElementContextType _contextType; 1976elementContextStackData.ContextType = ElementContextType.Default; 1983CpaStackData.ContextType = ElementContextType.Default; 2023if (CurrentContext != null && CurrentContext.ContextType == ElementContextType.PropertyIDictionary) 2091if (CurrentContext.ContextType == ElementContextType.PropertyIDictionary || 2092CurrentContext.ContextType == ElementContextType.PropertyComplex) 2302if (CurrentContext.ContextType == ElementContextType.Default && 3128ElementContextType pct = ParentContext.ContextType; 3130if (ElementContextType.PropertyIDictionary != pct 3132&& (ElementContextType.Unknown != pct) // Compile 1st pass 3658CurrentContext.ContextType = ElementContextType.Default; 3727CurrentContext.ContextType = ElementContextType.DefTag; 3742CurrentContext.ContextType = ElementContextType.Unknown; 3764Debug.Assert(CurrentContext.ContextType == ElementContextType.PropertyComplex || 3765CurrentContext.ContextType == ElementContextType.PropertyIList || 3766CurrentContext.ContextType == ElementContextType.PropertyIDictionary, 3774case ElementContextType.PropertyComplex: 3778case ElementContextType.PropertyArray: 3782case ElementContextType.PropertyIList: 3786case ElementContextType.PropertyIDictionary: 3790case ElementContextType.Unknown: 3886else if (ParentContext.ContextType == ElementContextType.PropertyComplex) 3965if ( parentTag.ContextType == ElementContextType.PropertyComplex || 3966parentTag.ContextType == ElementContextType.PropertyArray || 3967parentTag.ContextType == ElementContextType.PropertyIList || 3968parentTag.ContextType == ElementContextType.PropertyIDictionary ) 4178CurrentContext.ContextType = ElementContextType.PropertyComplex; 4207ParentContext.ContextType != ElementContextType.Default || 4215CurrentContext.ContextType = ElementContextType.PropertyIList; 4237CurrentContext.ContextType = ElementContextType.PropertyIDictionary; 4306CurrentContext.ContextType = ElementContextType.PropertyArray; 4334CurrentContext.ContextType = ElementContextType.Default; 4384(ParentContext.ContextType == ElementContextType.PropertyComplex || 4385ParentContext.ContextType == ElementContextType.PropertyIDictionary || 4386ParentContext.ContextType == ElementContextType.PropertyIList)) 4410if (ParentContext.ContextType == ElementContextType.PropertyComplex && 4481if (ElementContextType.Default != CurrentContext.ContextType) 4567elementContextStackData.ContextType = ElementContextType.Default; 4629case ElementContextType.Default: 4630case ElementContextType.Unknown: 4651case ElementContextType.PropertyArray: 4665case ElementContextType.PropertyComplex: 4666case ElementContextType.PropertyIDictionary: 4667case ElementContextType.PropertyIList: 5050ElementContextType parentNodeType = CurrentContext.ContextType; 5052if( parentNodeType == ElementContextType.Default ) 5057else if( parentNodeType == ElementContextType.PropertyComplex ) 5062else if( parentNodeType == ElementContextType.PropertyIList ) 5071else if( parentNodeType == ElementContextType.PropertyArray || 5072parentNodeType == ElementContextType.PropertyIDictionary ) 5091Debug.Assert (parentNodeType == ElementContextType.Unknown,