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