4 writes to Value
mscorlib (4)
system\globalization\datetimeparse.cs (4)
4373
Value
= str;
4778
Value
= Value.Substring(0, i + 1);
4797
Value
= Value.Remove(i, Value.Length - 1 - i);
4817
Value
= Value.Remove(1, i);
66 references to Value
mscorlib (66)
system\globalization\datetimeformatinfo.cs (6)
2707
if (!HebrewNumber.IsDigit(str.
Value
[i])) {
2717
state = HebrewNumber.ParseByChar(str.
Value
[i++], ref context);
2724
} while (i < str.
Value
.Length && (state != HebrewNumberParsingState.FoundEndOfHebrewNumber));
2774
Contract.Assert(str.Index < str.
Value
.Length, "DateTimeFormatInfo.Tokenize(): start < value.Length");
2813
if (String.Compare(str.
Value
, str.Index, value.tokenString, 0, value.tokenString.Length, this.Culture, CompareOptions.IgnoreCase)==0) {
2819
char nextCh = str.
Value
[nextCharIndex];
system\globalization\datetimeparse.cs (60)
418
if (length > (str.
Value
.Length - str.Index)) {
422
if (str.CompareInfo.Compare(str.
Value
, str.Index, length,
429
if (nextCharIndex < str.
Value
.Length) {
430
char nextCh = str.
Value
[nextCharIndex];
437
str.m_current = str.
Value
[str.Index];
571
char nextCh = str.
Value
[str.Index];
576
nextCh = str.
Value
[str.Index + whitespaceCount];
651
char nextCh = str.
Value
[str.Index];
1131
Char ch = str.
Value
[str.Index];
1136
ch = str.
Value
[i];
1174
if (str.
Value
[i] != '\0') {
3811
if (!TryParseQuoteString(format.
Value
, format.Index, enquotedString, out tokenLen)) {
3853
if (format.Index >= format.
Value
.Length - 1 || format.
Value
[format.Index + 1] == '%') {
4077
if (str.Index < str.
Value
.Length - 1) {
4374
len =
Value
.Length;
4405
m_current =
Value
[Index];
4420
m_current =
Value
[Index];
4450
m_current =
Value
[Index];
4473
m_current =
Value
[Index];
4496
m_current =
Value
[Index];
4547
return (m_info.Compare(
Value
, Index, count, target, 0, count, CompareOptions.IgnoreCase)==0);
4553
int valueRemaining =
Value
.Length - Index;
4556
if (matchLength > valueRemaining || m_info.Compare(
Value
, Index, matchLength, target, 0, matchLength, CompareOptions.IgnoreCase) !=0) {
4566
if (thisPosition >=
Value
.Length - segmentLength) { // Subtraction to prevent overflow.
4575
if (!Char.IsWhiteSpace(
Value
[thisPosition + segmentLength])) {
4578
if (m_info.Compare(
Value
, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.IgnoreCase) !=0) {
4589
while (thisPosition <
Value
.Length && Char.IsWhiteSpace(
Value
[thisPosition])) {
4597
if (thisPosition >
Value
.Length - segmentLength) {
4600
if (m_info.Compare(
Value
, thisPosition, segmentLength, target, targetPosition, segmentLength, CompareOptions.IgnoreCase) !=0) {
4608
if (nextCharIndex <
Value
.Length) {
4609
if (Char.IsLetter(
Value
[nextCharIndex])) {
4628
if (str.Length > (
Value
.Length - Index)) {
4632
if (m_info.Compare(
Value
, Index, str.Length, str, 0, str.Length, CompareOptions.Ordinal)==0) {
4646
if (
Value
[Index] == ch) {
4687
char repeatChar =
Value
[Index];
4689
while ((pos < len) && (
Value
[pos] == repeatChar)) {
4705
return (DateTimeParse.IsDigit(
Value
[Index]));
4713
return (
Value
[Index]);
4721
Contract.Assert(DateTimeParse.IsDigit(
Value
[Index]), "IsDigit(Value[Index])");
4722
return (
Value
[Index] - '0');
4736
char ch =
Value
[Index+1];
4763
m_current =
Value
[Index];
4775
while (i >= 0 && Char.IsWhiteSpace(
Value
[i])) {
4778
Value =
Value
.Substring(0, i + 1);
4779
len =
Value
.Length;
4789
char ch =
Value
[i];
4792
if (Char.IsWhiteSpace(
Value
[i-1])) {
4794
while (i >= 1 && Char.IsWhiteSpace(
Value
[i-1])) {
4797
Value =
Value
.Remove(i,
Value
.Length - 1 - i);
4798
len =
Value
.Length;
4810
char ch =
Value
[i];
4813
while ((i + 1) < len && Char.IsWhiteSpace(
Value
[i+1])) {
4817
Value =
Value
.Remove(1, i);
4818
len =
Value
.Length;
4826
sub.s =
Value
;
4829
Char ch =
Value
[Index + sub.length];
4877
m_current =
Value
[Index];