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