1 write to Value
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (1)
123
Value
= value;
26 references to Value
System.Private.CoreLib (26)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\Helpers\StringSearchValuesHelper.cs (16)
186
Debug.Assert(
Value
.Length is >= 9 and <= 16);
208
Debug.Assert(
Value
.Length is >= 9 and <= 16);
258
return UnknownLengthEquals<CaseSensitive>(ref matchStart, state.
Value
);
273
Debug.Assert(state.
Value
.Length is 2 or 3);
283
Debug.Assert(matchStart == state.
Value
[0] || (matchStart & 0xFF) == state.
Value
[0]);
295
Debug.Assert(matchStart == state.
Value
[0], "This should only be called after the first character has been checked");
325
return UnknownLengthEquals<CaseInsensitiveAsciiLetters>(ref matchStart, state.
Value
);
341
Debug.Assert(state.
Value
.Length is 2 or 3);
352
Debug.Assert(TransformInput((char)(matchStart & 0xFF)) == state.
Value
[0]);
364
Debug.Assert(TransformInput(matchStart) == state.
Value
[0], "This should only be called after the first character has been checked");
418
return UnknownLengthEquals<CaseInsensitiveAscii>(ref matchStart, state.
Value
);
433
Debug.Assert(state.
Value
.Length is 2 or 3);
458
return UnknownLengthEquals<CaseInsensitiveUnicode>(ref matchStart, state.
Value
);
462
return Ordinal.EqualsIgnoreCase_Scalar(ref matchStart, ref state.
Value
.GetRawStringData(), state.
Value
.Length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesPackedThreeChars.cs (5)
233
char valueHead = _valueState.
Value
.GetRawStringData();
339
ValidateReadPosition(ref searchSpaceStart, searchSpaceLength, ref matchRef, _valueState.
Value
.Length);
366
ValidateReadPosition(ref searchSpaceStart, searchSpaceLength, ref matchRef, _valueState.
Value
.Length);
384
: _valueState.
Value
.Equals(value, IgnoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
388
: [_valueState.
Value
];
src\libraries\System.Private.CoreLib\src\System\SearchValues\Strings\SingleStringSearchValuesThreeChars.cs (5)
234
char valueHead = _valueState.
Value
.GetRawStringData();
337
ValidateReadPosition(ref searchSpaceStart, searchSpaceLength, ref matchRef, _valueState.
Value
.Length);
365
ValidateReadPosition(ref searchSpaceStart, searchSpaceLength, ref matchRef, _valueState.
Value
.Length);
383
: _valueState.
Value
.Equals(value, IgnoreCase ? StringComparison.OrdinalIgnoreCase : StringComparison.Ordinal);
387
: [_valueState.
Value
];