50 references to Types
PresentationFramework (50)
System\Windows\Markup\BamlMapTable.cs (12)
106return KnownTypes.Types[-id]; 131Type probeType = KnownTypes.Types[probe]; 328return KnownTypes.Types[(int)tcId]; 352return KnownTypes.Types[(int)converterId]; 415return KnownTypes.Types[-id]; 479KnownTypes.Types[(int)KnownElements.XamlStyleSerializer]; 491KnownTypes.Types[(int)KnownElements.XamlTemplateSerializer]; 501info.AssemblyId = GetAssemblyIdForType(KnownTypes.Types[-id]); 505info.Type = KnownTypes.Types[-id]; 1406converterOrSerializerType = KnownTypes.Types[(int)converterOrSerializerTypeId]; 1613else if (type == KnownTypes.Types[(int)KnownElements.DependencyProperty]) 1628return KnownTypes.Types[index];
System\Windows\Markup\BamlRecords.cs (3)
475return (KnownTypes.Types[(int)KnownElements.IAddChildInternal].IsAssignableFrom( parentObjectType )); 4709|| (KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(propertyMember.GetType())), 4752KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(PropertyMember.GetType( )) )
System\Windows\Markup\BamlRecordWriter.cs (9)
301else if (CollectingValues && KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == xamlElementNode.ElementType) 315else if (CollectingValues && KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.ElementType) 352KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.ElementType) || 353KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.ElementType)) 371else if (_deferLoadingSupport && KnownTypes.Types[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.ElementType)) 794!KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 795!KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 796!KnownTypes.Types[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.ElementType)) 1676((BamlElementStartRecord)valueDeferRecord.Record).TypeId == BamlMapTable.GetKnownTypeIdFromType(KnownTypes.Types[(int)KnownElements.StaticResourceExtension]),
System\Windows\Markup\MarkupExtensionParser.cs (9)
158if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 163else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == extensionType) 168else if (KnownTypes.Types[(int)KnownElements.TemplateBindingExtension] == extensionType) 173else if (KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == extensionType) 178else if (KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == extensionType) 201if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 516if (KnownTypes.Types[(int)KnownElements.TypeExtension] == targetType) 523else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == targetType) 600else if (!KnownTypes.Types[(int)KnownElements.MarkupExtension].IsAssignableFrom(targetType))
System\Windows\Markup\XamlTypeMapper.cs (14)
1305Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1464Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1831if (KnownTypes.Types[(int)KnownElements.FrameworkElement].IsAssignableFrom(typeAndSerializer.ObjectType) || 1832KnownTypes.Types[(int)KnownElements.FrameworkContentElement].IsAssignableFrom(typeAndSerializer.ObjectType)) 1834typeAndSerializer.XmlLangProperty = (KnownTypes.Types[(int)KnownElements.FrameworkElement]).GetProperty("Language", 2677if (objectType == KnownTypes.Types[(int)KnownElements.Brush]) 2681else if (objectType == KnownTypes.Types[(int)KnownElements.Geometry] || 2682objectType == KnownTypes.Types[(int)KnownElements.StreamGeometry]) 2691else if (objectType == KnownTypes.Types[(int)KnownElements.Point3DCollection]) 2695else if (objectType == KnownTypes.Types[(int)KnownElements.Vector3DCollection]) 2699else if (objectType == KnownTypes.Types[(int)KnownElements.PointCollection]) 2703else if (objectType == KnownTypes.Types[(int)KnownElements.Int32Collection]) 2718if (objectType == KnownTypes.Types[(int)KnownElements.Style]) 2722else if (KnownTypes.Types[(int)KnownElements.FrameworkTemplate].IsAssignableFrom(objectType))
System\Windows\SystemResourceKey.cs (3)
373if ((KnownTypes.Types[(int)KnownElements.MenuItem] == targetType) || 374(KnownTypes.Types[(int)KnownElements.ToolBar] == targetType) || 375(KnownTypes.Types[(int)KnownElements.StatusBar] == targetType))