38 references to DataNode
System.Runtime.Serialization (38)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (13)
66
dataNode = new
DataNode
<string>(xmlReader.ReadContentAsString());
69
dataNode = new
DataNode
<bool>(xmlReader.ReadContentAsBoolean());
90
return new
DataNode
<byte>((byte)numericalValue);
92
return new
DataNode
<sbyte>((sbyte)numericalValue);
94
return new
DataNode
<short>((short)numericalValue);
96
return new
DataNode
<int>((int)numericalValue);
98
return new
DataNode
<long>((long)numericalValue);
100
return new
DataNode
<ushort>((ushort)numericalValue);
102
return new
DataNode
<uint>((uint)numericalValue);
104
return new
DataNode
<ulong>((ulong)numericalValue);
106
return new
DataNode
<float>((float)numericalValue);
108
return new
DataNode
<double>((double)numericalValue);
110
return new
DataNode
<decimal>((decimal)numericalValue);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
633
dataNode = (o is IDataNode) ? (IDataNode)o : new
DataNode
<object>(o);
692
dataNode = new
DataNode
<object>(xmlReader.ReadElementContentAsAnyType(dataContract.UnderlyingType));
698
dataNode = new
DataNode
<object>(((EnumDataContract)dataContract).ReadEnumValue(xmlReader));
761
IDataNode stringNode = new
DataNode
<object>(xmlReader.ReadContentAsString());
System\Runtime\Serialization\XmlReaderDelegator.cs (21)
294
return new
DataNode
<bool>(ReadContentAsBoolean());
296
return new
DataNode
<char>(ReadContentAsChar());
298
return new
DataNode
<byte>(ReadContentAsUnsignedByte());
300
return new
DataNode
<short>(ReadContentAsShort());
302
return new
DataNode
<int>(ReadContentAsInt());
304
return new
DataNode
<long>(ReadContentAsLong());
306
return new
DataNode
<float>(ReadContentAsSingle());
308
return new
DataNode
<double>(ReadContentAsDouble());
310
return new
DataNode
<decimal>(ReadContentAsDecimal());
312
return new
DataNode
<DateTime>(ReadContentAsDateTime());
314
return new
DataNode
<string>(ReadContentAsString());
316
return new
DataNode
<sbyte>(ReadContentAsSignedByte());
318
return new
DataNode
<ushort>(ReadContentAsUnsignedShort());
320
return new
DataNode
<uint>(ReadContentAsUnsignedInt());
322
return new
DataNode
<ulong>(ReadContentAsUnsignedLong());
328
return new
DataNode
<byte[]>(ReadContentAsBase64());
330
return new
DataNode
<object>(new object());
332
return new
DataNode
<TimeSpan>(ReadContentAsTimeSpan());
334
return new
DataNode
<Guid>(ReadContentAsGuid());
336
return new
DataNode
<Uri>(ReadContentAsUri());
338
return new
DataNode
<XmlQualifiedName>(ReadContentAsQName());