5 writes to _nodeType
System.Private.DataContractSerialization (5)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (5)
637
_nodeType
= JsonNodeType.EndElement;
933
_nodeType
= JsonNodeType.Element;
1149
_nodeType
= JsonNodeType.None;
1209
_nodeType
= JsonNodeType.QuotedText;
1215
_nodeType
= JsonNodeType.StandaloneText;
15 references to _nodeType
System.Private.DataContractSerialization (15)
System\Runtime\Serialization\Json\XmlJsonWriter.cs (15)
141
switch (
_nodeType
)
526
if (
_nodeType
!= JsonNodeType.None)
559
if (
_nodeType
== JsonNodeType.Element)
572
else if (
_nodeType
== JsonNodeType.QuotedText)
577
else if (
_nodeType
== JsonNodeType.Element)
603
Debug.Assert((
_nodeType
== JsonNodeType.StandaloneText) || (
_nodeType
== JsonNodeType.EndElement),
604
"nodeType has invalid value " +
_nodeType
+ ". Expected it to be QuotedText, Element, StandaloneText, or EndElement.");
617
if (
_nodeType
== JsonNodeType.Element)
750
if ((
_nodeType
!= JsonNodeType.Element) && !_wroteServerTypeAttribute)
857
if ((
_nodeType
!= JsonNodeType.None) && _depth == 0)
862
switch (
_nodeType
)
947
if (!((_dataType == JsonDataType.Array || _dataType == JsonDataType.Object ||
_nodeType
== JsonNodeType.EndElement) && XmlConverter.IsWhitespace(text)))
1117
(
_nodeType
== JsonNodeType.QuotedText))
1205
if (
_nodeType
!= JsonNodeType.QuotedText)