50 references to Types
PresentationFramework (50)
System\Windows\Markup\BamlMapTable.cs (12)
97return KnownTypes.Types[-id]; 122Type probeType = KnownTypes.Types[probe]; 319return KnownTypes.Types[(int)tcId]; 343return KnownTypes.Types[(int)converterId]; 404return KnownTypes.Types[-id]; 463KnownTypes.Types[(int)KnownElements.XamlStyleSerializer]; 475KnownTypes.Types[(int)KnownElements.XamlTemplateSerializer]; 486AssemblyId = GetAssemblyIdForType(KnownTypes.Types[-id]) 491info.Type = KnownTypes.Types[-id]; 1393converterOrSerializerType = KnownTypes.Types[(int)converterOrSerializerTypeId]; 1601else if (type == KnownTypes.Types[(int)KnownElements.DependencyProperty]) 1616return KnownTypes.Types[index];
System\Windows\Markup\BamlRecords.cs (3)
462return (KnownTypes.Types[(int)KnownElements.IAddChildInternal].IsAssignableFrom( parentObjectType )); 4696|| (KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(propertyMember.GetType())), 4738KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(PropertyMember.GetType( )) )
System\Windows\Markup\BamlRecordWriter.cs (9)
297else if (CollectingValues && KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == xamlElementNode.ElementType) 311else if (CollectingValues && KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.ElementType) 348KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.ElementType) || 349KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.ElementType)) 367else if (_deferLoadingSupport && KnownTypes.Types[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.ElementType)) 788!KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 789!KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 790!KnownTypes.Types[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.ElementType)) 1667((BamlElementStartRecord)valueDeferRecord.Record).TypeId == BamlMapTable.GetKnownTypeIdFromType(KnownTypes.Types[(int)KnownElements.StaticResourceExtension]),
System\Windows\Markup\MarkupExtensionParser.cs (9)
150if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 155else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == extensionType) 160else if (KnownTypes.Types[(int)KnownElements.TemplateBindingExtension] == extensionType) 165else if (KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == extensionType) 170else if (KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == extensionType) 193if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 508if (KnownTypes.Types[(int)KnownElements.TypeExtension] == targetType) 515else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == targetType) 592else if (!KnownTypes.Types[(int)KnownElements.MarkupExtension].IsAssignableFrom(targetType))
System\Windows\Markup\XamlTypeMapper.cs (14)
1286Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1447Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1816if (KnownTypes.Types[(int)KnownElements.FrameworkElement].IsAssignableFrom(typeAndSerializer.ObjectType) || 1817KnownTypes.Types[(int)KnownElements.FrameworkContentElement].IsAssignableFrom(typeAndSerializer.ObjectType)) 1819typeAndSerializer.XmlLangProperty = (KnownTypes.Types[(int)KnownElements.FrameworkElement]).GetProperty("Language", 2664if (objectType == KnownTypes.Types[(int)KnownElements.Brush]) 2668else if (objectType == KnownTypes.Types[(int)KnownElements.Geometry] || 2669objectType == KnownTypes.Types[(int)KnownElements.StreamGeometry]) 2678else if (objectType == KnownTypes.Types[(int)KnownElements.Point3DCollection]) 2682else if (objectType == KnownTypes.Types[(int)KnownElements.Vector3DCollection]) 2686else if (objectType == KnownTypes.Types[(int)KnownElements.PointCollection]) 2690else if (objectType == KnownTypes.Types[(int)KnownElements.Int32Collection]) 2705if (objectType == KnownTypes.Types[(int)KnownElements.Style]) 2709else if (KnownTypes.Types[(int)KnownElements.FrameworkTemplate].IsAssignableFrom(objectType))
System\Windows\SystemResourceKey.cs (3)
387if ((KnownTypes.Types[(int)KnownElements.MenuItem] == targetType) || 388(KnownTypes.Types[(int)KnownElements.ToolBar] == targetType) || 389(KnownTypes.Types[(int)KnownElements.StatusBar] == targetType))