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