63 references to ElementContextType
PresentationBuildTasks (63)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XamlReaderHelper.cs (63)
261ElementContextType contextType = context.ContextType; 266case ElementContextType.PropertyIList: 267case ElementContextType.PropertyIDictionary: 268case ElementContextType.PropertyArray: 272case ElementContextType.Unknown: 276case ElementContextType.Default: 277case ElementContextType.PropertyComplex: 633(ParentContext.ContextType == ElementContextType.PropertyIDictionary || 1158ElementContextType parentType = ParentContext.ContextType; 1162if (ElementContextType.Default != parentType && 1163ElementContextType.Unknown != parentType ) 1454public ElementContextType ContextType 1643ElementContextType _contextType; 1967elementContextStackData.ContextType = ElementContextType.Default; 1974CpaStackData.ContextType = ElementContextType.Default; 2014if (CurrentContext != null && CurrentContext.ContextType == ElementContextType.PropertyIDictionary) 2082if (CurrentContext.ContextType == ElementContextType.PropertyIDictionary || 2083CurrentContext.ContextType == ElementContextType.PropertyComplex) 2293if (CurrentContext.ContextType == ElementContextType.Default && 3119ElementContextType pct = ParentContext.ContextType; 3121if (ElementContextType.PropertyIDictionary != pct 3123&& (ElementContextType.Unknown != pct) // Compile 1st pass 3657CurrentContext.ContextType = ElementContextType.Default; 3726CurrentContext.ContextType = ElementContextType.DefTag; 3741CurrentContext.ContextType = ElementContextType.Unknown; 3763Debug.Assert(CurrentContext.ContextType == ElementContextType.PropertyComplex || 3764CurrentContext.ContextType == ElementContextType.PropertyIList || 3765CurrentContext.ContextType == ElementContextType.PropertyIDictionary, 3773case ElementContextType.PropertyComplex: 3777case ElementContextType.PropertyArray: 3781case ElementContextType.PropertyIList: 3785case ElementContextType.PropertyIDictionary: 3789case ElementContextType.Unknown: 3885else if (ParentContext.ContextType == ElementContextType.PropertyComplex) 3964if ( parentTag.ContextType == ElementContextType.PropertyComplex || 3965parentTag.ContextType == ElementContextType.PropertyArray || 3966parentTag.ContextType == ElementContextType.PropertyIList || 3967parentTag.ContextType == ElementContextType.PropertyIDictionary ) 4177CurrentContext.ContextType = ElementContextType.PropertyComplex; 4211ParentContext.ContextType != ElementContextType.Default || 4219CurrentContext.ContextType = ElementContextType.PropertyIList; 4241CurrentContext.ContextType = ElementContextType.PropertyIDictionary; 4310CurrentContext.ContextType = ElementContextType.PropertyArray; 4338CurrentContext.ContextType = ElementContextType.Default; 4388(ParentContext.ContextType == ElementContextType.PropertyComplex || 4389ParentContext.ContextType == ElementContextType.PropertyIDictionary || 4390ParentContext.ContextType == ElementContextType.PropertyIList)) 4414if (ParentContext.ContextType == ElementContextType.PropertyComplex && 4485if (ElementContextType.Default != CurrentContext.ContextType) 4576elementContextStackData.ContextType = ElementContextType.Default; 4643case ElementContextType.Default: 4644case ElementContextType.Unknown: 4671case ElementContextType.PropertyArray: 4685case ElementContextType.PropertyComplex: 4686case ElementContextType.PropertyIDictionary: 4687case ElementContextType.PropertyIList: 5101ElementContextType parentNodeType = CurrentContext.ContextType; 5103if( parentNodeType == ElementContextType.Default ) 5108else if( parentNodeType == ElementContextType.PropertyComplex ) 5113else if( parentNodeType == ElementContextType.PropertyIList ) 5122else if( parentNodeType == ElementContextType.PropertyArray || 5123parentNodeType == ElementContextType.PropertyIDictionary ) 5142Debug.Assert (parentNodeType == ElementContextType.Unknown,