9 references to serverTypeString
System.Private.DataContractSerialization (9)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (7)
581
throw new XmlException(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.
serverTypeString
));
771
else if (localName == JsonGlobals.
serverTypeString
)
775
throw new XmlException(SR.Format(SR.JsonAttributeAlreadyWritten, JsonGlobals.
serverTypeString
));
781
JsonGlobals.
serverTypeString
, JsonGlobals.typeString, _dataType.ToString().ToLowerInvariant(), JsonGlobals.objectString));
1191
throw new XmlException(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.
serverTypeString
));
1227
throw new XmlException(SR.Format(SR.JsonInvalidDataTypeSpecifiedForServerType, JsonGlobals.typeString, dataTypeSpecified, JsonGlobals.
serverTypeString
, JsonGlobals.objectString));
1445
WriteStartElement(JsonGlobals.
serverTypeString
);
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (1)
154
else if (xmlReader.MoveToAttribute(JsonGlobals.
serverTypeString
))
System\Runtime\Serialization\Json\XmlObjectSerializerWriteContextComplexJson.cs (1)
145
writer.WriteAttributeString(null, JsonGlobals.
serverTypeString
, null, typeInformation);