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)) 3117if (context.ContextType == ReaderFlags.PropertyArray) 3174else if (context.ContextType == ReaderFlags.PropertyIDictionary) 3195else if (context.ContextType == ReaderFlags.PropertyIList) 3216else if (context.ContextType == ReaderFlags.PropertyIAddChild) 3239else if (context.ContextType == ReaderFlags.PropertyArray) 3426switch (CurrentContext.ContextType) 3620ReaderFlags.PropertyComplexDP == CurrentContext.ContextType && 3824ReaderFlags.PropertyComplexClr == CurrentContext.ContextType && 3873ReaderFlags.ConstructorParams == CurrentContext.ContextType); 4073else if (stackData.ContextType == ReaderFlags.DependencyObject) 4503ReaderFlags parentContextType = parentContext != null ? parentContext.ContextType : ReaderFlags.Unknown; 4561(ReaderFlags.DependencyObject != currentContext.ContextType && 4562ReaderFlags.ClrObject != currentContext.ContextType)) 4725if( parentContext.ContextType == ReaderFlags.PropertyComplexClr ) 4735if( parentContext.ContextType == ReaderFlags.PropertyComplexDP ) 5288ParentContext.ContextType == ReaderFlags.PropertyComplexDP)
System\Windows\Markup\ReaderContextStackData.cs (2)
149return ContextType == ReaderFlags.DependencyObject 151ContextType == ReaderFlags.ClrObject;