5 writes to _length
dotnet-svcutil-lib (5)
FrameworkFork\System.Runtime.Serialization\System\Xml\ValueHandle.cs (5)
131
_length
= length;
630
_length
-= actual;
640
_length
-= charCount;
764
_length
= byteCount;
778
_length
-= charCount * sizeof(char);
37 references to _length
dotnet-svcutil-lib (37)
FrameworkFork\System.Runtime.Serialization\System\Xml\ValueHandle.cs (37)
139
return _bufferReader.IsWhitespaceUTF8(_offset,
_length
);
151
return _bufferReader.IsWhitespaceUTF8(_offset,
_length
);
154
return _bufferReader.IsWhitespaceUnicode(_offset,
_length
);
166
return
_length
== 0;
227
return XmlConverter.ToBoolean(_bufferReader.Buffer, _offset,
_length
);
269
return XmlConverter.ToInt32(_bufferReader.Buffer, _offset,
_length
);
298
return XmlConverter.ToInt64(_bufferReader.Buffer, _offset,
_length
);
319
return XmlConverter.ToUInt64(_bufferReader.Buffer, _offset,
_length
);
343
return XmlConverter.ToSingle(_bufferReader.Buffer, _offset,
_length
);
365
return XmlConverter.ToDouble(_bufferReader.Buffer, _offset,
_length
);
383
return XmlConverter.ToDecimal(_bufferReader.Buffer, _offset,
_length
);
395
return XmlConverter.ToDateTime(_bufferReader.Buffer, _offset,
_length
);
405
return XmlConverter.ToUniqueId(_bufferReader.Buffer, _offset,
_length
);
414
return XmlConverter.ToTimeSpan(_bufferReader.Buffer, _offset,
_length
);
423
return XmlConverter.ToGuid(_bufferReader.Buffer, _offset,
_length
);
435
byte[] buffer = new byte[
_length
];
436
GetBase64(buffer, 0,
_length
);
439
if (_type == ValueHandleType.UTF8 && (
_length
% 4) == 0)
443
int expectedLength =
_length
/ 4 * 3;
444
if (
_length
> 0)
446
if (_bufferReader.Buffer[_offset +
_length
- 1] == '=')
449
if (_bufferReader.Buffer[_offset +
_length
- 2] == '=')
454
int actualLength = Base64Encoding.GetBytes(_bufferReader.Buffer, _offset,
_length
, buffer, 0);
549
if (
_length
!= str.Length)
553
for (int i = 0; i <
_length
; ++i)
572
return _bufferReader.GetList(_offset,
_length
);
627
actual = Math.Min(
_length
, count);
633
if (_type == ValueHandleType.UTF8 && count >= 3 && (
_length
% 4) == 0)
637
int charCount = Math.Min(count / 3 * 4,
_length
);
669
int byteCount =
_length
;
772
int charCount = Math.Min(count,
_length
/ sizeof(char));
801
length =
_length
;
810
if (
_length
== 1 && _bufferReader.GetByte(_offset) == '1')
812
return _bufferReader.GetString(_offset,
_length
);
818
return _bufferReader.GetUnicodeString(_offset,
_length
);
824
return _bufferReader.GetEscapedString(_offset,
_length
);
924
return string.Concat(PrefixHandle.GetString(PrefixHandle.GetAlphaPrefix(
_length
)), ":", _bufferReader.GetDictionaryString(_offset));