36 references to DontNegate
System.Private.CoreLib (36)
src\libraries\System.Private.CoreLib\src\System\SearchValues\Any1SearchValues.cs (1)
36SpanHelpers.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)
36SpanHelpers.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)
36SpanHelpers.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)
34IndexOf<SpanHelpers.DontNegate<short>, NopTransform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length); 44IndexOfAny<SpanHelpers.DontNegate<short>, NopTransform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, length); 54IndexOfAny<SpanHelpers.DontNegate<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, (short)value2, length); 67return IndexOf<SpanHelpers.DontNegate<short>, Or20Transform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length); 86return IndexOfAny<SpanHelpers.DontNegate<short>, Or20Transform>(ref Unsafe.As<char, short>(ref searchSpace), (short)value0, (short)value1, length); 102IndexOfAnyInRange<SpanHelpers.DontNegate<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)lowInclusive, (short)rangeInclusive, length); 1180typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>) ? result : !result; 1185typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>) ? result : ~result; 1190typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>) ? result : ~result; 1195typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>) ? result : ~result; 1201return (typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>)) 1209return (typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>)) 1217return (typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>)) 1225return (typeof(TNegator) == typeof(SpanHelpers.DontNegate<short>))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (18)
1469NonPackedIndexOfValueType<short, DontNegate<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length); 1473=> IndexOfValueType<T, DontNegate<T>>(ref searchSpace, value, length); 1486return typeof(TNegator) == typeof(DontNegate<short>) 1660=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, length); 1685return typeof(TNegator) == typeof(DontNegate<short>) 1691return typeof(TNegator) == typeof(DontNegate<short>) 1886=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, length); 1899return 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); 3470IndexOfAnyInRangeUnsignedNumber<T, DontNegate<T>>(ref searchSpace, lowInclusive, highInclusive, length); 3487return typeof(TNegator) == typeof(DontNegate<ushort>) 3636LastIndexOfAnyInRangeUnsignedNumber<T, DontNegate<T>>(ref searchSpace, lowInclusive, highInclusive, length);