36 references to DontNegate
System.Private.CoreLib (36)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any1SearchValues.cs (1)
36
SpanHelpers.NonPackedIndexOfValueType<TImpl, SpanHelpers.
DontNegate
<TImpl>>(ref Unsafe.As<T, TImpl>(ref MemoryMarshal.GetReference(span)), _e0, span.Length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any2SearchValues.cs (1)
36
SpanHelpers.NonPackedIndexOfAnyValueType<TImpl, SpanHelpers.
DontNegate
<TImpl>>(ref Unsafe.As<T, TImpl>(ref MemoryMarshal.GetReference(span)), _e0, _e1, span.Length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any3SearchValues.cs (1)
36
SpanHelpers.NonPackedIndexOfAnyValueType<TImpl, SpanHelpers.
DontNegate
<TImpl>>(ref Unsafe.As<T, TImpl>(ref MemoryMarshal.GetReference(span)), _e0, _e1, _e2, span.Length);
src\libraries\System.Private.CoreLib\src\System\SearchValues\RangeCharSearchValues.cs (1)
44
: SpanHelpers.NonPackedIndexOfAnyInRangeUnsignedNumber<ushort, SpanHelpers.
DontNegate
<ushort>>(
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (14)
34
IndexOf<SpanHelpers.
DontNegate
<short>, NopTransform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length);
44
IndexOfAny<SpanHelpers.
DontNegate
<short>, NopTransform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, length);
54
IndexOfAny<SpanHelpers.
DontNegate
<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, (short)value2, length);
67
return IndexOf<SpanHelpers.
DontNegate
<short>, Or20Transform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length);
86
return IndexOfAny<SpanHelpers.
DontNegate
<short>, Or20Transform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, length);
102
IndexOfAnyInRange<SpanHelpers.
DontNegate
<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)lowInclusive, (short)rangeInclusive, length);
1180
typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>) ? result : !result;
1185
typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>) ? result : ~result;
1190
typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>) ? result : ~result;
1195
typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>) ? result : ~result;
1201
return (typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>))
1209
return (typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>))
1217
return (typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>))
1225
return (typeof(TNegator) == typeof(SpanHelpers.
DontNegate
<short>))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (18)
1469
NonPackedIndexOfValueType<short,
DontNegate
<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length);
1473
=> IndexOfValueType<T,
DontNegate
<T>>(ref searchSpace, value, length);
1486
return typeof(TNegator) == typeof(
DontNegate
<short>)
1660
=> IndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, length);
1685
return typeof(TNegator) == typeof(
DontNegate
<short>)
1691
return typeof(TNegator) == typeof(
DontNegate
<short>)
1886
=> IndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, length);
1899
return typeof(TNegator) == typeof(
DontNegate
<short>)
2093
=> IndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, value3, length);
2255
=> IndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, value3, value4, length);
2421
=> LastIndexOfValueType<T,
DontNegate
<T>>(ref searchSpace, value, length);
2541
=> LastIndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, length);
2726
=> LastIndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, length);
2912
=> LastIndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, value3, length);
3179
=> LastIndexOfAnyValueType<T,
DontNegate
<T>>(ref searchSpace, value0, value1, value2, value3, value4, length);
3470
IndexOfAnyInRangeUnsignedNumber<T,
DontNegate
<T>>(ref searchSpace, lowInclusive, highInclusive, length);
3487
return typeof(TNegator) == typeof(
DontNegate
<ushort>)
3636
LastIndexOfAnyInRangeUnsignedNumber<T,
DontNegate
<T>>(ref searchSpace, lowInclusive, highInclusive, length);