34 references to ValueHandleLength
System.Private.DataContractSerialization (34)
System\Xml\XmlBinaryReader.cs (15)
655ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.UniqueId, ValueHandleLength.UniqueId);
658ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Guid, ValueHandleLength.Guid);
661ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Decimal, ValueHandleLength.Decimal);
664ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Int8, ValueHandleLength.Int8);
667ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Int16, ValueHandleLength.Int16);
670ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Int32, ValueHandleLength.Int32);
673ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Int64, ValueHandleLength.Int64);
676ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.UInt64, ValueHandleLength.UInt64);
679ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Single, ValueHandleLength.Single);
682ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.Double, ValueHandleLength.Double);
685ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.TimeSpan, ValueHandleLength.TimeSpan);
688ReadText(MoveToAtomicTextWithEndElement(), ValueHandleType.DateTime, ValueHandleLength.DateTime);
1404BufferReader.GetBuffer(actual * ValueHandleLength.DateTime, out _, out _);
1439BufferReader.GetBuffer(actual * ValueHandleLength.Guid, out _, out _);
1469BufferReader.GetBuffer(actual * ValueHandleLength.TimeSpan, out _, out _);
System\Xml\XmlBufferReader.cs (19)
397byte[] buffer = GetBuffer(ValueHandleLength.Decimal, out int offset);
407Advance(ValueHandleLength.Decimal);
415byte[] buffer = GetBuffer(ValueHandleLength.UniqueId, out offset);
417Advance(ValueHandleLength.UniqueId);
468_ = GetBuffer(ValueHandleLength.Guid, out offset);
470Advance(ValueHandleLength.Guid);
994=> new Guid(_buffer.AsSpan(offset, ValueHandleLength.Guid));
1139ReadValue(value, ValueHandleType.UniqueId, ValueHandleLength.UniqueId);
1142ReadValue(value, ValueHandleType.Guid, ValueHandleLength.Guid);
1145ReadValue(value, ValueHandleType.Decimal, ValueHandleLength.Decimal);
1148ReadValue(value, ValueHandleType.Int8, ValueHandleLength.Int8);
1151ReadValue(value, ValueHandleType.Int16, ValueHandleLength.Int16);
1154ReadValue(value, ValueHandleType.Int32, ValueHandleLength.Int32);
1157ReadValue(value, ValueHandleType.Int64, ValueHandleLength.Int64);
1160ReadValue(value, ValueHandleType.UInt64, ValueHandleLength.UInt64);
1163ReadValue(value, ValueHandleType.Single, ValueHandleLength.Single);
1166ReadValue(value, ValueHandleType.Double, ValueHandleLength.Double);
1169ReadValue(value, ValueHandleType.TimeSpan, ValueHandleLength.TimeSpan);
1172ReadValue(value, ValueHandleType.DateTime, ValueHandleLength.DateTime);