System\Runtime\Serialization\Json\JsonWriterDelegator.cs (11)
56writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
62writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
68writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
74writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
80writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
86writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
92writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
98writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
104writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
110writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.booleanString);
116writer.WriteAttributeString(JsonGlobals.typeString, JsonGlobals.numberString);
System\Runtime\Serialization\Json\XmlJsonWriter.cs (6)
581throw new XmlException(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.serverTypeString));
762else if (localName == JsonGlobals.typeString)
766throw new XmlException(SR.Format(SR.JsonAttributeAlreadyWritten, JsonGlobals.typeString));
781JsonGlobals.serverTypeString, JsonGlobals.typeString, _dataType.ToString().ToLowerInvariant(), JsonGlobals.objectString));
1191throw new XmlException(SR.Format(SR.JsonMustSpecifyDataType, JsonGlobals.typeString, JsonGlobals.objectString, JsonGlobals.serverTypeString));
1227throw new XmlException(SR.Format(SR.JsonInvalidDataTypeSpecifiedForServerType, JsonGlobals.typeString, dataTypeSpecified, JsonGlobals.serverTypeString, JsonGlobals.objectString));