39 references to GetValue
System.Runtime.Serialization (39)
System\Runtime\Serialization\ExtensionDataReader.cs (19)
666
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<bool>)dataNode).
GetValue
() : (bool)dataNode.Value);
669
this.value = XmlConvert.ToString((int)(isTypedNode ? ((DataNode<char>)dataNode).
GetValue
() : (char)dataNode.Value));
672
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<byte>)dataNode).
GetValue
() : (byte)dataNode.Value);
675
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<short>)dataNode).
GetValue
() : (short)dataNode.Value);
678
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<int>)dataNode).
GetValue
() : (int)dataNode.Value);
681
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<long>)dataNode).
GetValue
() : (long)dataNode.Value);
684
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<float>)dataNode).
GetValue
() : (float)dataNode.Value);
687
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<double>)dataNode).
GetValue
() : (double)dataNode.Value);
690
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<decimal>)dataNode).
GetValue
() : (decimal)dataNode.Value);
693
DateTime dateTime = isTypedNode ? ((DataNode<DateTime>)dataNode).
GetValue
() : (DateTime)dataNode.Value;
697
this.value = isTypedNode ? ((DataNode<string>)dataNode).
GetValue
() : (string)dataNode.Value;
700
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<sbyte>)dataNode).
GetValue
() : (sbyte)dataNode.Value);
703
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<ushort>)dataNode).
GetValue
() : (ushort)dataNode.Value);
706
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<uint>)dataNode).
GetValue
() : (uint)dataNode.Value);
709
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<ulong>)dataNode).
GetValue
() : (ulong)dataNode.Value);
715
byte[] bytes = isTypedNode ? ((DataNode<byte[]>)dataNode).
GetValue
() : (byte[])dataNode.Value;
719
this.value = XmlConvert.ToString(isTypedNode ? ((DataNode<TimeSpan>)dataNode).
GetValue
() : (TimeSpan)dataNode.Value);
722
Guid guid = isTypedNode ? ((DataNode<Guid>)dataNode).
GetValue
() : (Guid)dataNode.Value;
727
Uri uri = isTypedNode ? ((DataNode<Uri>)dataNode).
GetValue
() : (Uri)dataNode.Value;
System\Runtime\Serialization\XmlWriterDelegator.cs (20)
372
WriteBoolean(((DataNode<bool>)dataNode).
GetValue
());
375
WriteChar(((DataNode<char>)dataNode).
GetValue
());
378
WriteUnsignedByte(((DataNode<byte>)dataNode).
GetValue
());
381
WriteShort(((DataNode<short>)dataNode).
GetValue
());
384
WriteInt(((DataNode<int>)dataNode).
GetValue
());
387
WriteLong(((DataNode<long>)dataNode).
GetValue
());
390
WriteFloat(((DataNode<float>)dataNode).
GetValue
());
393
WriteDouble(((DataNode<double>)dataNode).
GetValue
());
396
WriteDecimal(((DataNode<decimal>)dataNode).
GetValue
());
399
WriteDateTime(((DataNode<DateTime>)dataNode).
GetValue
());
402
WriteString(((DataNode<string>)dataNode).
GetValue
());
405
WriteSignedByte(((DataNode<sbyte>)dataNode).
GetValue
());
408
WriteUnsignedShort(((DataNode<ushort>)dataNode).
GetValue
());
411
WriteUnsignedInt(((DataNode<uint>)dataNode).
GetValue
());
414
WriteUnsignedLong(((DataNode<ulong>)dataNode).
GetValue
());
421
WriteBase64(((DataNode<byte[]>)dataNode).
GetValue
());
429
WriteTimeSpan(((DataNode<TimeSpan>)dataNode).
GetValue
());
431
WriteGuid(((DataNode<Guid>)dataNode).
GetValue
());
433
WriteUri(((DataNode<Uri>)dataNode).
GetValue
());
435
WriteQName(((DataNode<XmlQualifiedName>)dataNode).
GetValue
());