15 references to Name
System.Runtime.Serialization (15)
System\Runtime\Serialization\Json\JsonClassDataContract.cs (2)
135
this.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)
167
this.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)
118
if (!((object.ReferenceEquals(contract.
Name
, declaredContract.
Name
) &&
120
(contract.
Name
.Value == declaredContract.
Name
.Value &&
135
WriteTypeInfo(writer, contract.
Name
.Value, contract.Namespace.Value);
System\Runtime\Serialization\KnownTypeDataContractResolver.cs (1)
41
typeName = contract.
Name
;
System\Runtime\Serialization\XmlObjectSerializer.cs (4)
239
return (object.ReferenceEquals(contract.
Name
, declaredContract.
Name
) && object.ReferenceEquals(contract.Namespace, declaredContract.Namespace))
240
|| (contract.
Name
.Value == declaredContract.
Name
.Value && contract.Namespace.Value == declaredContract.Namespace.Value);
System\Runtime\Serialization\XmlObjectSerializerWriteContext.cs (1)
770
WriteTypeInfo(writer, contract.
Name
, contract.Namespace);