38 references to DataNode
System.Private.DataContractSerialization (38)
System\Runtime\Serialization\Json\XmlObjectSerializerReadContextComplexJson.cs (13)
103
dataNode = new
DataNode
<string>(xmlReader.ReadContentAsString());
106
dataNode = new
DataNode
<bool>(xmlReader.ReadContentAsBoolean());
125
TypeCode.Byte => new
DataNode
<byte>((byte)numericalValue),
126
TypeCode.SByte => new
DataNode
<sbyte>((sbyte)numericalValue),
127
TypeCode.Int16 => new
DataNode
<short>((short)numericalValue),
128
TypeCode.Int32 => new
DataNode
<int>((int)numericalValue),
129
TypeCode.Int64 => new
DataNode
<long>((long)numericalValue),
130
TypeCode.UInt16 => new
DataNode
<ushort>((ushort)numericalValue),
131
TypeCode.UInt32 => new
DataNode
<uint>((uint)numericalValue),
132
TypeCode.UInt64 => new
DataNode
<ulong>((ulong)numericalValue),
133
TypeCode.Single => new
DataNode
<float>((float)numericalValue),
134
TypeCode.Double => new
DataNode
<double>((double)numericalValue),
135
TypeCode.Decimal => new
DataNode
<decimal>((decimal)numericalValue),
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (4)
621
dataNode = (o is IDataNode) ? (IDataNode)o : new
DataNode
<object>(o);
680
dataNode = new
DataNode
<object>(xmlReader.ReadElementContentAsAnyType(dataContract.UnderlyingType));
686
dataNode = new
DataNode
<object>(((EnumDataContract)dataContract).ReadEnumValue(xmlReader));
753
IDataNode stringNode = new
DataNode
<object>(xmlReader.ReadContentAsString());
System\Runtime\Serialization\XmlReaderDelegator.cs (21)
285
return new
DataNode
<bool>(ReadContentAsBoolean());
287
return new
DataNode
<char>(ReadContentAsChar());
289
return new
DataNode
<byte>(ReadContentAsUnsignedByte());
291
return new
DataNode
<short>(ReadContentAsShort());
293
return new
DataNode
<int>(ReadContentAsInt());
295
return new
DataNode
<long>(ReadContentAsLong());
297
return new
DataNode
<float>(ReadContentAsSingle());
299
return new
DataNode
<double>(ReadContentAsDouble());
301
return new
DataNode
<decimal>(ReadContentAsDecimal());
303
return new
DataNode
<DateTime>(ReadContentAsDateTime());
305
return new
DataNode
<string>(ReadContentAsString());
307
return new
DataNode
<sbyte>(ReadContentAsSignedByte());
309
return new
DataNode
<ushort>(ReadContentAsUnsignedShort());
311
return new
DataNode
<uint>(ReadContentAsUnsignedInt());
313
return new
DataNode
<ulong>(ReadContentAsUnsignedLong());
319
return new
DataNode
<byte[]>(ReadContentAsBase64());
321
return new
DataNode
<object>(new object());
323
return new
DataNode
<TimeSpan>(ReadContentAsTimeSpan());
325
return new
DataNode
<Guid>(ReadContentAsGuid());
327
return new
DataNode
<Uri>(ReadContentAsUri());
329
return new
DataNode
<XmlQualifiedName>(ReadContentAsQName());