17 references to Dictionary
PresentationFramework (3)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (2)
7746
CollectionKind = XamlCollectionKind.
Dictionary
9301
CollectionKind = XamlCollectionKind.
Dictionary
System\Windows\Markup\Baml2006\WpfXamlType.cs (1)
488
return XamlCollectionKind.
Dictionary
;
System.Xaml (7)
System\Xaml\Schema\CollectionReflector.cs (4)
50
return XamlCollectionKind.
Dictionary
;
55
return XamlCollectionKind.
Dictionary
;
71
return XamlCollectionKind.
Dictionary
;
95
case XamlCollectionKind.
Dictionary
:
System\Xaml\XamlType.cs (3)
180
public bool IsDictionary { get { return GetCollectionKind() == XamlCollectionKind.
Dictionary
; } }
236
collectionKind != XamlCollectionKind.
Dictionary
)
509
(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);