76 references to Collection
PresentationFramework (58)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (55)
1976CollectionKind = XamlCollectionKind.Collection 2271CollectionKind = XamlCollectionKind.Collection 2502CollectionKind = XamlCollectionKind.Collection 2645CollectionKind = XamlCollectionKind.Collection 2872CollectionKind = XamlCollectionKind.Collection 3518CollectionKind = XamlCollectionKind.Collection 4127CollectionKind = XamlCollectionKind.Collection 4195CollectionKind = XamlCollectionKind.Collection 4236CollectionKind = XamlCollectionKind.Collection 5049CollectionKind = XamlCollectionKind.Collection 5104CollectionKind = XamlCollectionKind.Collection 5305CollectionKind = XamlCollectionKind.Collection 5886CollectionKind = XamlCollectionKind.Collection 6118CollectionKind = XamlCollectionKind.Collection 6194CollectionKind = XamlCollectionKind.Collection 6248CollectionKind = XamlCollectionKind.Collection 6377CollectionKind = XamlCollectionKind.Collection 6409CollectionKind = XamlCollectionKind.Collection 7205CollectionKind = XamlCollectionKind.Collection 7363CollectionKind = XamlCollectionKind.Collection 7560CollectionKind = XamlCollectionKind.Collection 7902CollectionKind = XamlCollectionKind.Collection 8119CollectionKind = XamlCollectionKind.Collection 8175CollectionKind = XamlCollectionKind.Collection 8362CollectionKind = XamlCollectionKind.Collection 8416CollectionKind = XamlCollectionKind.Collection 8521CollectionKind = XamlCollectionKind.Collection 8589CollectionKind = XamlCollectionKind.Collection 8922CollectionKind = XamlCollectionKind.Collection 9117CollectionKind = XamlCollectionKind.Collection 9456CollectionKind = XamlCollectionKind.Collection 9912CollectionKind = XamlCollectionKind.Collection 10041CollectionKind = XamlCollectionKind.Collection 10685CollectionKind = XamlCollectionKind.Collection 10701CollectionKind = XamlCollectionKind.Collection 11109CollectionKind = XamlCollectionKind.Collection 11152CollectionKind = XamlCollectionKind.Collection 11300CollectionKind = XamlCollectionKind.Collection 11433CollectionKind = XamlCollectionKind.Collection 11631CollectionKind = XamlCollectionKind.Collection 11661CollectionKind = XamlCollectionKind.Collection 12159CollectionKind = XamlCollectionKind.Collection 12213CollectionKind = XamlCollectionKind.Collection 12274CollectionKind = XamlCollectionKind.Collection 12328CollectionKind = XamlCollectionKind.Collection 12841CollectionKind = XamlCollectionKind.Collection 12855CollectionKind = XamlCollectionKind.Collection 12869CollectionKind = XamlCollectionKind.Collection 12955CollectionKind = XamlCollectionKind.Collection 12970CollectionKind = XamlCollectionKind.Collection 13074CollectionKind = XamlCollectionKind.Collection 13088CollectionKind = XamlCollectionKind.Collection 13103CollectionKind = XamlCollectionKind.Collection 13117CollectionKind = XamlCollectionKind.Collection 13131CollectionKind = XamlCollectionKind.Collection
System\Windows\Markup\Baml2006\WpfXamlType.cs (3)
492return XamlCollectionKind.Collection; 498return XamlCollectionKind.Collection; 505return XamlCollectionKind.Collection;
System.Xaml (7)
System\Xaml\Schema\CollectionReflector.cs (4)
60return XamlCollectionKind.Collection; 65return XamlCollectionKind.Collection; 76return XamlCollectionKind.Collection; 87case XamlCollectionKind.Collection:
System\Xaml\XamlType.cs (3)
178public bool IsCollection { get { return GetCollectionKind() == XamlCollectionKind.Collection; } } 235if (collectionKind != XamlCollectionKind.Collection && 508(collectionKind == XamlCollectionKind.Collection) ||
System.Xaml.Tests (11)
System\Xaml\XamlTypeTests.cs (11)
1750yield return new object?[] { new SubXamlType(typeof(ICollection<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1751yield return new object?[] { new SubXamlType(typeof(IList), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1752yield return new object?[] { new SubXamlType(typeof(IList<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1755yield return new object?[] { new SubXamlType(typeof(Collection<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1756yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1757yield return new object?[] { new SubXamlType(typeof(GetEnumeratorClass), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1760yield return new object?[] { new SubXamlType(typeof(MultiICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1761yield return new object?[] { new SubXamlType(typeof(ICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1762yield return new object?[] { new SubXamlType(typeof(InternalICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1763yield return new object?[] { new SubXamlType(typeof(MoreThanOneICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.Collection }; 1795Assert.Equal(expected == XamlCollectionKind.Collection, type.IsCollection);