16 references to Kind
dotnet-svcutil-lib (16)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CollectionDataContract.cs (4)
546
if (UnderlyingType.GetTypeInfo().IsInterface && (
Kind
== CollectionKind.Enumerable ||
Kind
== CollectionKind.Collection ||
Kind
== CollectionKind.GenericEnumerable))
550
Debug.Assert(AddMethod != null ||
Kind
== CollectionKind.Array, "Add method cannot be null if the collection is being used as a get-only property");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatReaderGenerator.cs (7)
502
bool isArray = (collectionContract.
Kind
== CollectionKind.Array);
508
switch (collectionContract.
Kind
)
641
bool isArray = (collectionContract.
Kind
== CollectionKind.Array);
748
if (collectionContract.
Kind
== CollectionKind.Dictionary || collectionContract.
Kind
== CollectionKind.GenericDictionary)
769
if (collectionContract.
Kind
== CollectionKind.GenericDictionary || collectionContract.
Kind
== CollectionKind.Dictionary)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlFormatWriterGenerator.cs (5)
314
if (collectionContract.
Kind
== CollectionKind.Array)
339
switch (collectionContract.
Kind
)
362
if (collectionContract.
Kind
== CollectionKind.GenericDictionary)
368
else if (collectionContract.
Kind
== CollectionKind.Dictionary)
392
CollectionKind kind = collectionContract.
Kind
;