5 writes to nodeType
System.Runtime.Serialization (5)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (5)
765nodeType = JsonNodeType.EndElement; 1105nodeType = JsonNodeType.Element; 1346nodeType = JsonNodeType.None; 1410nodeType = JsonNodeType.QuotedText; 1416nodeType = JsonNodeType.StandaloneText;
15 references to nodeType
System.Runtime.Serialization (15)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (15)
171switch (nodeType) 648if (nodeType != JsonNodeType.None) 683if (nodeType == JsonNodeType.Element) 696else if (nodeType == JsonNodeType.QuotedText) 701else if (nodeType == JsonNodeType.Element) 731Fx.Assert((nodeType == JsonNodeType.StandaloneText) || (nodeType == JsonNodeType.EndElement), 732"nodeType has invalid value " + nodeType + ". Expected it to be QuotedText, Element, StandaloneText, or EndElement."); 745if (nodeType == JsonNodeType.Element) 904if ((nodeType != JsonNodeType.Element) && !wroteServerTypeAttribute) 1023if ((nodeType != JsonNodeType.None) && depth == 0) 1029switch (nodeType) 1122if (!((this.dataType == JsonDataType.Array || this.dataType == JsonDataType.Object || this.nodeType == JsonNodeType.EndElement) && XmlConverter.IsWhitespace(text))) 1312(nodeType == JsonNodeType.QuotedText)) 1406if (nodeType != JsonNodeType.QuotedText)