15 references to Name
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
126
_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.
Name
.Value : string.Concat(traditionalDataContract.
Name
.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\JsonDataContract.cs (2)
166
_typeName = string.IsNullOrEmpty(traditionalDataContract.Namespace.Value) ? traditionalDataContract.
Name
.Value : string.Concat(traditionalDataContract.
Name
.Value, JsonGlobals.NameValueSeparatorString, XmlObjectSerializerWriteContextComplexJson.TruncateDefaultDataContractNamespace(traditionalDataContract.Namespace.Value));
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (5)
100
if (!((object.ReferenceEquals(contract.
Name
, declaredContract.
Name
) &&
102
(contract.
Name
.Value == declaredContract.
Name
.Value &&
117
WriteTypeInfo(writer, contract.
Name
.Value, contract.Namespace.Value);
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
41
typeName = contract.
Name
;
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
264
return (object.ReferenceEquals(contract.
Name
, declaredContract.
Name
) && object.ReferenceEquals(contract.Namespace, declaredContract.Namespace))
265
|| (contract.
Name
.Value == declaredContract.
Name
.Value && contract.Namespace.Value == declaredContract.Namespace.Value);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
634
WriteTypeInfo(writer, contract.
Name
, contract.Namespace);