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