3 references to TruncateDefaultDataContractNamespace
System.Private.DataContractSerialization (3)
System\Runtime\Serialization\Json\JsonClassDataContract.cs (1)
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 (1)
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 (1)
70
WriteTypeInfo(writer, string.Concat(dataContractName, JsonGlobals.NameValueSeparatorString,
TruncateDefaultDataContractNamespace
(dataContractNamespace)));