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