50 references to Types
PresentationFramework (50)
src\Framework\System\Windows\Markup\BamlMapTable.cs (12)
120return KnownTypes.Types[-id]; 145Type probeType = KnownTypes.Types[probe]; 338return KnownTypes.Types[(int)tcId]; 362return KnownTypes.Types[(int)converterId]; 425return KnownTypes.Types[-id]; 489KnownTypes.Types[(int)KnownElements.XamlStyleSerializer]; 501KnownTypes.Types[(int)KnownElements.XamlTemplateSerializer]; 511info.AssemblyId = GetAssemblyIdForType(KnownTypes.Types[-id]); 515info.Type = KnownTypes.Types[-id]; 1416converterOrSerializerType = KnownTypes.Types[(int)converterOrSerializerTypeId]; 1623else if (type == KnownTypes.Types[(int)KnownElements.DependencyProperty]) 1638return KnownTypes.Types[index];
src\Framework\System\Windows\Markup\BamlRecords.cs (3)
484return (KnownTypes.Types[(int)KnownElements.IAddChildInternal].IsAssignableFrom( parentObjectType )); 4953|| (KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(propertyMember.GetType())), 4996KnownTypes.Types[(int)KnownElements.DependencyProperty].IsAssignableFrom(PropertyMember.GetType( )) )
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (9)
308else if (CollectingValues && KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == xamlElementNode.ElementType) 322else if (CollectingValues && KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == xamlElementNode.ElementType) 359KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlElementNode.ElementType) || 360KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlElementNode.ElementType)) 379else if (_deferLoadingSupport && KnownTypes.Types[(int)KnownElements.ResourceDictionary].IsAssignableFrom(xamlElementNode.ElementType)) 803!KnownTypes.Types[(int)KnownElements.StaticExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 804!KnownTypes.Types[(int)KnownElements.TypeExtension].IsAssignableFrom(xamlKeyElementNode.ElementType) && 805!KnownTypes.Types[(int)KnownElements.ResourceKey].IsAssignableFrom(xamlKeyElementNode.ElementType)) 1686((BamlElementStartRecord)valueDeferRecord.Record).TypeId == BamlMapTable.GetKnownTypeIdFromType(KnownTypes.Types[(int)KnownElements.StaticResourceExtension]),
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (9)
171if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 176else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == extensionType) 181else if (KnownTypes.Types[(int)KnownElements.TemplateBindingExtension] == extensionType) 186else if (KnownTypes.Types[(int)KnownElements.DynamicResourceExtension] == extensionType) 191else if (KnownTypes.Types[(int)KnownElements.StaticResourceExtension] == extensionType) 214if (KnownTypes.Types[(int)KnownElements.TypeExtension] == extensionType) 529if (KnownTypes.Types[(int)KnownElements.TypeExtension] == targetType) 536else if (KnownTypes.Types[(int)KnownElements.StaticExtension] == targetType) 613else if (!KnownTypes.Types[(int)KnownElements.MarkupExtension].IsAssignableFrom(targetType))
src\Framework\System\Windows\Markup\XamlTypeMapper.cs (14)
1380Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1543Type dependencyObjectType = KnownTypes.Types[(int)KnownElements.DependencyObject]; 1911if (KnownTypes.Types[(int)KnownElements.FrameworkElement].IsAssignableFrom(typeAndSerializer.ObjectType) || 1912KnownTypes.Types[(int)KnownElements.FrameworkContentElement].IsAssignableFrom(typeAndSerializer.ObjectType)) 1914typeAndSerializer.XmlLangProperty = (KnownTypes.Types[(int)KnownElements.FrameworkElement]).GetProperty("Language", 2764if (objectType == KnownTypes.Types[(int)KnownElements.Brush]) 2768else if (objectType == KnownTypes.Types[(int)KnownElements.Geometry] || 2769objectType == KnownTypes.Types[(int)KnownElements.StreamGeometry]) 2778else if (objectType == KnownTypes.Types[(int)KnownElements.Point3DCollection]) 2782else if (objectType == KnownTypes.Types[(int)KnownElements.Vector3DCollection]) 2786else if (objectType == KnownTypes.Types[(int)KnownElements.PointCollection]) 2790else if (objectType == KnownTypes.Types[(int)KnownElements.Int32Collection]) 2805if (objectType == KnownTypes.Types[(int)KnownElements.Style]) 2809else if (KnownTypes.Types[(int)KnownElements.FrameworkTemplate].IsAssignableFrom(objectType))
src\Framework\System\Windows\SystemResourceKey.cs (3)
378if ((KnownTypes.Types[(int)KnownElements.MenuItem] == targetType) || 379(KnownTypes.Types[(int)KnownElements.ToolBar] == targetType) || 380(KnownTypes.Types[(int)KnownElements.StatusBar] == targetType))