24 writes to _value
System.Private.DataContractSerialization (24)
System\Runtime\Serialization\ExtensionDataReader.cs (24)
100
_value
= null;
167
_value
= attribute.value;
223
_value
= string.Empty;
317
_value
= string.Empty;
330
_value
= string.Empty;
665
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<bool>)dataNode).GetValue() : (bool)dataNode.Value);
668
_value
= XmlConvert.ToString((int)(isTypedNode ? ((DataNode<char>)dataNode).GetValue() : (char)dataNode.Value));
671
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<byte>)dataNode).GetValue() : (byte)dataNode.Value);
674
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<short>)dataNode).GetValue() : (short)dataNode.Value);
677
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<int>)dataNode).GetValue() : (int)dataNode.Value);
680
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<long>)dataNode).GetValue() : (long)dataNode.Value);
683
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<float>)dataNode).GetValue() : (float)dataNode.Value);
686
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<double>)dataNode).GetValue() : (double)dataNode.Value);
689
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<decimal>)dataNode).GetValue() : (decimal)dataNode.Value);
693
_value
= dateTime.ToString("yyyy-MM-ddTHH:mm:ss.fffffffK", DateTimeFormatInfo.InvariantInfo);
696
_value
= isTypedNode ? ((DataNode<string>)dataNode).GetValue() : (string?)dataNode.Value;
699
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<sbyte>)dataNode).GetValue() : (sbyte)dataNode.Value);
702
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<ushort>)dataNode).GetValue() : (ushort)dataNode.Value);
705
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<uint>)dataNode).GetValue() : (uint)dataNode.Value);
708
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<ulong>)dataNode).GetValue() : (ulong)dataNode.Value);
715
_value
= (bytes == null) ? string.Empty : Convert.ToBase64String(bytes);
718
_value
= XmlConvert.ToString(isTypedNode ? ((DataNode<TimeSpan>)dataNode).GetValue() : (TimeSpan)dataNode.Value);
722
_value
= guid.ToString();
727
_value
= uri.GetComponents(UriComponents.SerializationInfoString, UriFormat.UriEscaped);
1 reference to _value
System.Private.DataContractSerialization (1)
System\Runtime\Serialization\ExtensionDataReader.cs (1)
117
public override string Value { get { return IsXmlDataNode ? _xmlNodeReader.Value :
_value
!; } }