4 references to KeyName
System.Runtime.Serialization (4)
System\Runtime\Serialization\CollectionDataContract.cs (4)
547
if (collectionContractAttribute.
KeyName
== null || collectionContractAttribute.
KeyName
.Length == 0)
550
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidDataContractException(SR.GetString(SR.InvalidCollectionContractKeyNoDictionary, DataContract.GetClrTypeFullName(UnderlyingType), collectionContractAttribute.
KeyName
)));
551
keyName = DataContract.EncodeLocalName(collectionContractAttribute.
KeyName
);