76 references to Collection
PresentationFramework (58)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (55)
1977CollectionKind = XamlCollectionKind.Collection 2272CollectionKind = XamlCollectionKind.Collection 2503CollectionKind = XamlCollectionKind.Collection 2646CollectionKind = XamlCollectionKind.Collection 2873CollectionKind = XamlCollectionKind.Collection 3519CollectionKind = XamlCollectionKind.Collection 4128CollectionKind = XamlCollectionKind.Collection 4196CollectionKind = XamlCollectionKind.Collection 4237CollectionKind = XamlCollectionKind.Collection 5050CollectionKind = XamlCollectionKind.Collection 5105CollectionKind = XamlCollectionKind.Collection 5306CollectionKind = XamlCollectionKind.Collection 5887CollectionKind = XamlCollectionKind.Collection 6119CollectionKind = XamlCollectionKind.Collection 6195CollectionKind = XamlCollectionKind.Collection 6249CollectionKind = XamlCollectionKind.Collection 6378CollectionKind = XamlCollectionKind.Collection 6410CollectionKind = XamlCollectionKind.Collection 7206CollectionKind = XamlCollectionKind.Collection 7364CollectionKind = XamlCollectionKind.Collection 7561CollectionKind = XamlCollectionKind.Collection 7903CollectionKind = XamlCollectionKind.Collection 8120CollectionKind = XamlCollectionKind.Collection 8176CollectionKind = XamlCollectionKind.Collection 8363CollectionKind = XamlCollectionKind.Collection 8417CollectionKind = XamlCollectionKind.Collection 8522CollectionKind = XamlCollectionKind.Collection 8590CollectionKind = XamlCollectionKind.Collection 8923CollectionKind = XamlCollectionKind.Collection 9118CollectionKind = XamlCollectionKind.Collection 9457CollectionKind = XamlCollectionKind.Collection 9913CollectionKind = XamlCollectionKind.Collection 10042CollectionKind = XamlCollectionKind.Collection 10686CollectionKind = XamlCollectionKind.Collection 10702CollectionKind = XamlCollectionKind.Collection 11110CollectionKind = XamlCollectionKind.Collection 11153CollectionKind = XamlCollectionKind.Collection 11301CollectionKind = XamlCollectionKind.Collection 11434CollectionKind = XamlCollectionKind.Collection 11632CollectionKind = XamlCollectionKind.Collection 11662CollectionKind = XamlCollectionKind.Collection 12160CollectionKind = XamlCollectionKind.Collection 12214CollectionKind = XamlCollectionKind.Collection 12275CollectionKind = XamlCollectionKind.Collection 12329CollectionKind = XamlCollectionKind.Collection 12842CollectionKind = XamlCollectionKind.Collection 12856CollectionKind = XamlCollectionKind.Collection 12870CollectionKind = XamlCollectionKind.Collection 12956CollectionKind = XamlCollectionKind.Collection 12971CollectionKind = XamlCollectionKind.Collection 13075CollectionKind = XamlCollectionKind.Collection 13089CollectionKind = XamlCollectionKind.Collection 13104CollectionKind = XamlCollectionKind.Collection 13118CollectionKind = XamlCollectionKind.Collection 13132CollectionKind = XamlCollectionKind.Collection
System\Windows\Markup\Baml2006\WpfXamlType.cs (3)
493return XamlCollectionKind.Collection; 499return XamlCollectionKind.Collection; 506return XamlCollectionKind.Collection;
System.Xaml (7)
System\Xaml\Schema\CollectionReflector.cs (4)
61return XamlCollectionKind.Collection; 66return XamlCollectionKind.Collection; 77return XamlCollectionKind.Collection; 88case XamlCollectionKind.Collection:
System\Xaml\XamlType.cs (3)
179public bool IsCollection { get { return GetCollectionKind() == XamlCollectionKind.Collection; } } 236if (collectionKind != XamlCollectionKind.Collection && 509(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);