12 references to Kind
System.Private.DataContractSerialization (12)
System\Runtime\Serialization\CollectionDataContract.cs (12)
143
if (_helper.
Kind
== CollectionKind.Dictionary || _helper.
Kind
== CollectionKind.GenericDictionary)
152
internal CollectionKind Kind => _helper.
Kind
;
751
switch (
Kind
)
816
if (
Kind
== CollectionKind.GenericDictionary)
827
else if (
Kind
== CollectionKind.Dictionary)
843
Debug.Assert(
Kind
!= CollectionKind.Array, "GetCollectionElementType should not be called on Arrays");
847
if (
Kind
== CollectionKind.GenericDictionary)
852
else if (
Kind
== CollectionKind.Dictionary)
871
if (
Kind
== CollectionKind.GenericDictionary ||
Kind
== CollectionKind.GenericCollection ||
Kind
== CollectionKind.GenericEnumerable)