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