17 references to Dictionary
PresentationFramework (3)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
7747CollectionKind = XamlCollectionKind.Dictionary 9302CollectionKind = XamlCollectionKind.Dictionary
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
489return XamlCollectionKind.Dictionary;
System.Xaml (7)
System\Xaml\Schema\CollectionReflector.cs (4)
51return XamlCollectionKind.Dictionary; 56return XamlCollectionKind.Dictionary; 72return XamlCollectionKind.Dictionary; 96case XamlCollectionKind.Dictionary:
System\Xaml\XamlType.cs (3)
181public bool IsDictionary { get { return GetCollectionKind() == XamlCollectionKind.Dictionary; } } 237collectionKind != XamlCollectionKind.Dictionary) 510(collectionKind == XamlCollectionKind.Dictionary) ||
System.Xaml.Tests (7)
System\Xaml\XamlTypeTests.cs (7)
1753yield return new object?[] { new SubXamlType(typeof(IDictionary), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1754yield return new object?[] { new SubXamlType(typeof(IDictionary<int, int>), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1766yield return new object?[] { new SubXamlType(typeof(Dictionary<int, int>), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1767yield return new object?[] { new SubXamlType(typeof(IDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1768yield return new object?[] { new SubXamlType(typeof(InternalIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1769yield return new object?[] { new SubXamlType(typeof(MoreThanOneIDictionaryImplementer), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 1796Assert.Equal(expected == XamlCollectionKind.Dictionary, type.IsDictionary);