76 references to Collection
PresentationFramework (58)
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (55)
1977
CollectionKind = XamlCollectionKind.
Collection
2272
CollectionKind = XamlCollectionKind.
Collection
2503
CollectionKind = XamlCollectionKind.
Collection
2646
CollectionKind = XamlCollectionKind.
Collection
2873
CollectionKind = XamlCollectionKind.
Collection
3519
CollectionKind = XamlCollectionKind.
Collection
4128
CollectionKind = XamlCollectionKind.
Collection
4196
CollectionKind = XamlCollectionKind.
Collection
4237
CollectionKind = XamlCollectionKind.
Collection
5050
CollectionKind = XamlCollectionKind.
Collection
5105
CollectionKind = XamlCollectionKind.
Collection
5306
CollectionKind = XamlCollectionKind.
Collection
5887
CollectionKind = XamlCollectionKind.
Collection
6119
CollectionKind = XamlCollectionKind.
Collection
6195
CollectionKind = XamlCollectionKind.
Collection
6249
CollectionKind = XamlCollectionKind.
Collection
6378
CollectionKind = XamlCollectionKind.
Collection
6410
CollectionKind = XamlCollectionKind.
Collection
7206
CollectionKind = XamlCollectionKind.
Collection
7364
CollectionKind = XamlCollectionKind.
Collection
7561
CollectionKind = XamlCollectionKind.
Collection
7903
CollectionKind = XamlCollectionKind.
Collection
8120
CollectionKind = XamlCollectionKind.
Collection
8176
CollectionKind = XamlCollectionKind.
Collection
8363
CollectionKind = XamlCollectionKind.
Collection
8417
CollectionKind = XamlCollectionKind.
Collection
8522
CollectionKind = XamlCollectionKind.
Collection
8590
CollectionKind = XamlCollectionKind.
Collection
8923
CollectionKind = XamlCollectionKind.
Collection
9118
CollectionKind = XamlCollectionKind.
Collection
9457
CollectionKind = XamlCollectionKind.
Collection
9913
CollectionKind = XamlCollectionKind.
Collection
10042
CollectionKind = XamlCollectionKind.
Collection
10686
CollectionKind = XamlCollectionKind.
Collection
10702
CollectionKind = XamlCollectionKind.
Collection
11110
CollectionKind = XamlCollectionKind.
Collection
11153
CollectionKind = XamlCollectionKind.
Collection
11301
CollectionKind = XamlCollectionKind.
Collection
11434
CollectionKind = XamlCollectionKind.
Collection
11632
CollectionKind = XamlCollectionKind.
Collection
11662
CollectionKind = XamlCollectionKind.
Collection
12160
CollectionKind = XamlCollectionKind.
Collection
12214
CollectionKind = XamlCollectionKind.
Collection
12275
CollectionKind = XamlCollectionKind.
Collection
12329
CollectionKind = XamlCollectionKind.
Collection
12842
CollectionKind = XamlCollectionKind.
Collection
12856
CollectionKind = XamlCollectionKind.
Collection
12870
CollectionKind = XamlCollectionKind.
Collection
12956
CollectionKind = XamlCollectionKind.
Collection
12971
CollectionKind = XamlCollectionKind.
Collection
13075
CollectionKind = XamlCollectionKind.
Collection
13089
CollectionKind = XamlCollectionKind.
Collection
13104
CollectionKind = XamlCollectionKind.
Collection
13118
CollectionKind = XamlCollectionKind.
Collection
13132
CollectionKind = XamlCollectionKind.
Collection
System\Windows\Markup\Baml2006\WpfXamlType.cs (3)
493
return XamlCollectionKind.
Collection
;
499
return XamlCollectionKind.
Collection
;
506
return XamlCollectionKind.
Collection
;
System.Xaml (7)
System\Xaml\Schema\CollectionReflector.cs (4)
61
return XamlCollectionKind.
Collection
;
66
return XamlCollectionKind.
Collection
;
77
return XamlCollectionKind.
Collection
;
88
case XamlCollectionKind.
Collection
:
System\Xaml\XamlType.cs (3)
179
public bool IsCollection { get { return GetCollectionKind() == XamlCollectionKind.
Collection
; } }
236
if (collectionKind != XamlCollectionKind.
Collection
&&
509
(collectionKind == XamlCollectionKind.
Collection
) ||
System.Xaml.Tests (11)
System\Xaml\XamlTypeTests.cs (11)
1750
yield return new object?[] { new SubXamlType(typeof(ICollection<int>), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1751
yield return new object?[] { new SubXamlType(typeof(IList), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1752
yield return new object?[] { new SubXamlType(typeof(IList<int>), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1755
yield return new object?[] { new SubXamlType(typeof(Collection<int>), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1756
yield return new object?[] { new SubXamlType(typeof(List<int>), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1757
yield return new object?[] { new SubXamlType(typeof(GetEnumeratorClass), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1760
yield return new object?[] { new SubXamlType(typeof(MultiICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1761
yield return new object?[] { new SubXamlType(typeof(ICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1762
yield return new object?[] { new SubXamlType(typeof(InternalICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1763
yield return new object?[] { new SubXamlType(typeof(MoreThanOneICollectionImplementer), new XamlSchemaContext()), XamlCollectionKind.
Collection
};
1795
Assert.Equal(expected == XamlCollectionKind.
Collection
, type.IsCollection);