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: 619(ParentContext.ContextType == ElementContextType.PropertyIDictionary || 1144ElementContextType parentType = ParentContext.ContextType; 1148if (ElementContextType.Default != parentType && 1149ElementContextType.Unknown != parentType ) 1440public ElementContextType ContextType 1628private ElementContextType _contextType; 1954elementContextStackData.ContextType = ElementContextType.Default; 1962ContextType = ElementContextType.Default 2003if (CurrentContext != null && CurrentContext.ContextType == ElementContextType.PropertyIDictionary) 2071if (CurrentContext.ContextType == ElementContextType.PropertyIDictionary || 2072CurrentContext.ContextType == ElementContextType.PropertyComplex) 2282if (CurrentContext.ContextType == ElementContextType.Default && 3111ElementContextType pct = ParentContext.ContextType; 3113if (ElementContextType.PropertyIDictionary != pct 3115&& (ElementContextType.Unknown != pct) // Compile 1st pass 3647CurrentContext.ContextType = ElementContextType.Default; 3716CurrentContext.ContextType = ElementContextType.DefTag; 3731CurrentContext.ContextType = ElementContextType.Unknown; 3753Debug.Assert(CurrentContext.ContextType == ElementContextType.PropertyComplex || 3754CurrentContext.ContextType == ElementContextType.PropertyIList || 3755CurrentContext.ContextType == ElementContextType.PropertyIDictionary, 3763case ElementContextType.PropertyComplex: 3767case ElementContextType.PropertyArray: 3771case ElementContextType.PropertyIList: 3775case ElementContextType.PropertyIDictionary: 3779case ElementContextType.Unknown: 3875else if (ParentContext.ContextType == ElementContextType.PropertyComplex) 3953if (parentTag.ContextType == ElementContextType.PropertyComplex || 3954parentTag.ContextType == ElementContextType.PropertyArray || 3955parentTag.ContextType == ElementContextType.PropertyIList || 3956parentTag.ContextType == ElementContextType.PropertyIDictionary) 4166CurrentContext.ContextType = ElementContextType.PropertyComplex; 4200ParentContext.ContextType != ElementContextType.Default || 4208CurrentContext.ContextType = ElementContextType.PropertyIList; 4230CurrentContext.ContextType = ElementContextType.PropertyIDictionary; 4299CurrentContext.ContextType = ElementContextType.PropertyArray; 4327CurrentContext.ContextType = ElementContextType.Default; 4377(ParentContext.ContextType == ElementContextType.PropertyComplex || 4378ParentContext.ContextType == ElementContextType.PropertyIDictionary || 4379ParentContext.ContextType == ElementContextType.PropertyIList)) 4403if (ParentContext.ContextType == ElementContextType.PropertyComplex && 4473if (ElementContextType.Default != CurrentContext.ContextType) 4565ContextType = ElementContextType.Default 4633case ElementContextType.Default: 4634case ElementContextType.Unknown: 4661case ElementContextType.PropertyArray: 4675case ElementContextType.PropertyComplex: 4676case ElementContextType.PropertyIDictionary: 4677case ElementContextType.PropertyIList: 5091ElementContextType parentNodeType = CurrentContext.ContextType; 5093if( parentNodeType == ElementContextType.Default ) 5098else if( parentNodeType == ElementContextType.PropertyComplex ) 5103else if( parentNodeType == ElementContextType.PropertyIList ) 5112else if( parentNodeType == ElementContextType.PropertyArray || 5113parentNodeType == ElementContextType.PropertyIDictionary ) 5132Debug.Assert (parentNodeType == ElementContextType.Unknown,