57 references to ContextType
PresentationFramework (57)
System\Windows\Markup\BamlRecordReader.cs (55)
710Debug.Assert(ReaderFlags.DependencyObject == CurrentContext.ContextType); 792Debug.Assert(ReaderFlags.DependencyObject == CurrentContext.ContextType || 793ReaderFlags.ClrObject == CurrentContext.ContextType || 794ReaderFlags.PropertyComplexClr == CurrentContext.ContextType || 795ReaderFlags.PropertyComplexDP == CurrentContext.ContextType); 798if (ReaderFlags.DependencyObject == CurrentContext.ContextType || 799ReaderFlags.ClrObject == CurrentContext.ContextType || 800ReaderFlags.PropertyComplexClr == CurrentContext.ContextType || 801ReaderFlags.PropertyComplexDP == CurrentContext.ContextType) 815if (ReaderFlags.DependencyObject == CurrentContext.ContextType) 904(context.ContextType != ReaderFlags.ConstructorParams && 905context.ContextType != ReaderFlags.RealizeDeferContent)) 1005(ReaderFlags.PropertyComplexClr == currentContext.ContextType || 1006ReaderFlags.PropertyComplexDP == currentContext.ContextType) && 1169(ReaderFlags.DependencyObject != CurrentContext.ContextType && 1170ReaderFlags.ClrObject != CurrentContext.ContextType)) 1214Debug.Assert( CurrentContext.ContextType != ReaderFlags.PropertyComplexClr ); 1215Debug.Assert( CurrentContext.ContextType != ReaderFlags.PropertyComplexDP ); 1217switch (CurrentContext.ContextType) 1267Debug.Assert(CurrentContext.ContextType == ReaderFlags.ConstructorParams); 1928(ReaderFlags.DependencyObject != CurrentContext.ContextType && 1929ReaderFlags.ClrObject != CurrentContext.ContextType)) 1981else if ( (CurrentContext.ContextType == ReaderFlags.PropertyComplexClr) 1982|| (CurrentContext.ContextType == ReaderFlags.PropertyComplexDP) ) 2029!(ReaderFlags.ClrObject == CurrentContext.ContextType || 2030ReaderFlags.DependencyObject == CurrentContext.ContextType)) 2040ReaderFlags.DependencyObject == CurrentContext.ContextType /*targetIsDependencyObject*/ ); 2177(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2178ReaderFlags.ClrObject != CurrentContext.ContextType)) 2268(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2269ReaderFlags.ClrObject != CurrentContext.ContextType)) 2283(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2284ReaderFlags.ClrObject != CurrentContext.ContextType)) 2299(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2300ReaderFlags.ClrObject != CurrentContext.ContextType)) 2422(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2423ReaderFlags.ClrObject != CurrentContext.ContextType)) 2623(ReaderFlags.DependencyObject != CurrentContext.ContextType && 2624ReaderFlags.ClrObject != CurrentContext.ContextType)) 3120if (context.ContextType == ReaderFlags.PropertyArray) 3177else if (context.ContextType == ReaderFlags.PropertyIDictionary) 3198else if (context.ContextType == ReaderFlags.PropertyIList) 3219else if (context.ContextType == ReaderFlags.PropertyIAddChild) 3242else if (context.ContextType == ReaderFlags.PropertyArray) 3432switch (CurrentContext.ContextType) 3626ReaderFlags.PropertyComplexDP == CurrentContext.ContextType && 3830ReaderFlags.PropertyComplexClr == CurrentContext.ContextType && 3879ReaderFlags.ConstructorParams == CurrentContext.ContextType); 4079else if (stackData.ContextType == ReaderFlags.DependencyObject) 4509ReaderFlags parentContextType = parentContext != null ? parentContext.ContextType : ReaderFlags.Unknown; 4567(ReaderFlags.DependencyObject != currentContext.ContextType && 4568ReaderFlags.ClrObject != currentContext.ContextType)) 4731if( parentContext.ContextType == ReaderFlags.PropertyComplexClr ) 4741if( parentContext.ContextType == ReaderFlags.PropertyComplexDP ) 5294ParentContext.ContextType == ReaderFlags.PropertyComplexDP)
System\Windows\Markup\ReaderContextStackData.cs (2)
149return ContextType == ReaderFlags.DependencyObject 151ContextType == ReaderFlags.ClrObject;