114 references to XmlConverter
dotnet-svcutil-lib (114)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\EnumDataContract.cs (2)
462
return (long)
XmlConverter
.ToUInt64(value);
464
return
XmlConverter
.ToInt64(value);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (2)
501
return
XmlConverter
.ToUInt64(str);
535
return
XmlConverter
.ToTimeSpan(str);
FrameworkFork\System.Runtime.Serialization\System\Xml\StringHandle.cs (2)
150
byte[] buffer =
XmlConverter
.ToBytes(s_constStrings[_key]);
158
byte[] buffer =
XmlConverter
.ToBytes(_bufferReader.GetEscapedString(_offset, _length));
FrameworkFork\System.Runtime.Serialization\System\Xml\ValueHandle.cs (36)
148
return
XmlConverter
.IsWhitespace((char)ch);
227
return
XmlConverter
.ToBoolean(_bufferReader.Buffer, _offset, _length);
236
return
XmlConverter
.ToBoolean(GetString());
269
return
XmlConverter
.ToInt32(_bufferReader.Buffer, _offset, _length);
270
return
XmlConverter
.ToInt32(GetString());
298
return
XmlConverter
.ToInt64(_bufferReader.Buffer, _offset, _length);
300
return
XmlConverter
.ToInt64(GetString());
319
return
XmlConverter
.ToUInt64(_bufferReader.Buffer, _offset, _length);
320
return
XmlConverter
.ToUInt64(GetString());
343
return
XmlConverter
.ToSingle(_bufferReader.Buffer, _offset, _length);
344
return
XmlConverter
.ToSingle(GetString());
365
return
XmlConverter
.ToDouble(_bufferReader.Buffer, _offset, _length);
366
return
XmlConverter
.ToDouble(GetString());
383
return
XmlConverter
.ToDecimal(_bufferReader.Buffer, _offset, _length);
384
return
XmlConverter
.ToDecimal(GetString());
391
return
XmlConverter
.ToDateTime(GetInt64());
395
return
XmlConverter
.ToDateTime(_bufferReader.Buffer, _offset, _length);
397
return
XmlConverter
.ToDateTime(GetString());
405
return
XmlConverter
.ToUniqueId(_bufferReader.Buffer, _offset, _length);
406
return
XmlConverter
.ToUniqueId(GetString());
414
return
XmlConverter
.ToTimeSpan(_bufferReader.Buffer, _offset, _length);
415
return
XmlConverter
.ToTimeSpan(GetString());
423
return
XmlConverter
.ToGuid(_bufferReader.Buffer, _offset, _length);
424
return
XmlConverter
.ToGuid(GetString());
470
return Base64Encoding.GetBytes(
XmlConverter
.StripWhitespace(GetString()));
497
return
XmlConverter
.ToString(ToInt());
499
return
XmlConverter
.ToString(GetInt64());
501
return
XmlConverter
.ToString(GetUInt64());
503
return
XmlConverter
.ToString(GetSingle());
505
return
XmlConverter
.ToString(GetDouble());
507
return
XmlConverter
.ToString(GetDecimal());
509
return
XmlConverter
.ToString(ToDateTime());
527
return
XmlConverter
.ToString(ToList());
529
return
XmlConverter
.ToString(ToUniqueId());
531
return
XmlConverter
.ToString(ToGuid());
533
return
XmlConverter
.ToString(ToTimeSpan());
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseReader.cs (13)
862
if (!
XmlConverter
.IsWhitespace(_value))
1461
while (j < charCount &&
XmlConverter
.IsWhitespace(chars[j]))
1508
return
XmlConverter
.ToBoolean(ReadContentAsString());
1520
return
XmlConverter
.ToInt64(ReadContentAsString());
1532
return
XmlConverter
.ToInt32(ReadContentAsString());
1544
return
XmlConverter
.ToDateTime(ReadContentAsString());
1556
return
XmlConverter
.ToDouble(ReadContentAsString());
1568
return
XmlConverter
.ToSingle(ReadContentAsString());
1580
return
XmlConverter
.ToDecimal(ReadContentAsString());
1592
return
XmlConverter
.ToUniqueId(ReadContentAsString());
1604
return
XmlConverter
.ToTimeSpan(ReadContentAsString());
1616
return
XmlConverter
.ToGuid(ReadContentAsString());
1643
return
XmlConverter
.ToUInt64(ReadContentAsString());
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBaseWriter.cs (15)
1233
WriteAttributeText(
XmlConverter
.ToString(value));
1250
WriteAttributeText(
XmlConverter
.ToString(value));
1267
WriteAttributeText(
XmlConverter
.ToString(value));
1284
WriteAttributeText(
XmlConverter
.ToString(value));
1301
WriteAttributeText(
XmlConverter
.ToString(value));
1318
WriteAttributeText(
XmlConverter
.ToString(value));
1335
WriteAttributeText(
XmlConverter
.ToString(value));
1357
WriteAttributeText(
XmlConverter
.ToString(value));
1377
WriteAttributeText(
XmlConverter
.ToString(value));
1394
WriteAttributeText(
XmlConverter
.ToString(value));
1411
WriteAttributeText(
XmlConverter
.ToString(value));
1461
WriteAttributeText(
XmlConverter
.Base64Encoding.GetString(_trailBytes, 0, _trailByteCount));
1462
WriteAttributeText(
XmlConverter
.Base64Encoding.GetString(buffer, offset, actualByteCount - _trailByteCount));
1523
WriteAttributeText(
XmlConverter
.Base64Encoding.GetString(_trailBytes, 0, _trailByteCount));
1537
WriteAttributeText(
XmlConverter
.Base64Encoding.GetString(_trailBytes, 0, _trailByteCount));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBinaryWriter.cs (3)
1038
_captureText =
XmlConverter
.Base64Encoding.GetString(arraySegment.Array, arraySegment.Offset, arraySegment.Count);
1076
WriteText(
XmlConverter
.Base64Encoding.GetString(trailBytes, 0, trailByteCount));
1078
WriteText(
XmlConverter
.Base64Encoding.GetString(buffer, offset, count));
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlBufferReader.cs (8)
594
return i +
XmlConverter
.ToChars(buffer, offset + i, length - i, chars, i);
607
return i +
XmlConverter
.ToChars(buffer, offset + i, length - i, chars, charOffset + i);
622
return
XmlConverter
.ToStringUnicode(_buffer, offset, length);
862
if (!
XmlConverter
.IsWhitespace(s[i]))
873
if (!
XmlConverter
.IsWhitespace((char)buffer[offset + i]))
885
if (!
XmlConverter
.IsWhitespace(ch))
976
return
XmlConverter
.ToString(buffer, offset1, length1) == s2;
1009
return
XmlConverter
.ToString(buffer, offset1, length1) == s2;
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlDictionaryReader.cs (15)
487
guids[i] =
XmlConverter
.ToGuid(values[i]);
495
uniqueIds[i] =
XmlConverter
.ToUniqueId(values[i]);
543
return
XmlConverter
.ToDecimal(ReadContentAsString());
548
return
XmlConverter
.ToSingle(ReadContentAsString());
553
return
XmlConverter
.ToUniqueId(ReadContentAsString());
558
return
XmlConverter
.ToGuid(ReadContentAsString());
563
return
XmlConverter
.ToTimeSpan(ReadContentAsString());
569
XmlConverter
.ToQualifiedName(ReadContentAsString(), out prefix, out localName);
604
value =
XmlConverter
.ToBoolean(string.Empty);
624
value =
XmlConverter
.ToInt32(string.Empty);
644
value =
XmlConverter
.ToInt64(string.Empty);
664
value =
XmlConverter
.ToSingle(string.Empty);
684
value =
XmlConverter
.ToDouble(string.Empty);
704
value =
XmlConverter
.ToDecimal(string.Empty);
821
value =
XmlConverter
.ToTimeSpan(string.Empty);
FrameworkFork\System.Runtime.Serialization\System\Xml\XmlUTF8TextWriter.cs (18)
662
byte[] buffer = GetBuffer(
XmlConverter
.MaxBoolChars, out offset);
663
Advance(
XmlConverter
.ToChars(value, buffer, offset));
669
byte[] buffer = GetBuffer(
XmlConverter
.MaxDecimalChars, out offset);
670
Advance(
XmlConverter
.ToChars(value, buffer, offset));
676
byte[] buffer = GetBuffer(
XmlConverter
.MaxDoubleChars, out offset);
677
Advance(
XmlConverter
.ToChars(value, buffer, offset));
683
byte[] buffer = GetBuffer(
XmlConverter
.MaxFloatChars, out offset);
684
Advance(
XmlConverter
.ToChars(value, buffer, offset));
690
byte[] buffer = GetBuffer(
XmlConverter
.MaxDateTimeChars, out offset);
691
Advance(
XmlConverter
.ToChars(value, buffer, offset));
712
byte[] buffer = GetBuffer(
XmlConverter
.MaxInt32Chars, out offset);
713
Advance(
XmlConverter
.ToChars(value, buffer, offset));
719
byte[] buffer = GetBuffer(
XmlConverter
.MaxInt64Chars, out offset);
720
Advance(
XmlConverter
.ToChars(value, buffer, offset));
726
byte[] buffer = GetBuffer(
XmlConverter
.MaxUInt64Chars, out offset);
727
Advance(
XmlConverter
.ToChars((double)value, buffer, offset));
756
Base64Encoding encoding =
XmlConverter
.Base64Encoding;
777
Base64Encoding encoding =
XmlConverter
.Base64Encoding;