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)
1632NonPackedIndexOfValueType<short, DontNegate<short>>(ref Unsafe.As<char, short>(ref searchSpace), (short)value, length); 1636=> IndexOfValueType<T, DontNegate<T>>(ref searchSpace, value, length); 1649return typeof(TNegator) == typeof(DontNegate<short>) 1851=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, length); 1876return typeof(TNegator) == typeof(DontNegate<short>) 1882return typeof(TNegator) == typeof(DontNegate<short>) 2111=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, length); 2124return typeof(TNegator) == typeof(DontNegate<short>) 2352=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, value3, length); 2525=> IndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, value3, value4, length); 2701=> LastIndexOfValueType<T, DontNegate<T>>(ref searchSpace, value, length); 2845=> LastIndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, length); 3062=> LastIndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, length); 3279=> LastIndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, value3, length); 3551=> LastIndexOfAnyValueType<T, DontNegate<T>>(ref searchSpace, value0, value1, value2, value3, value4, length); 3858IndexOfAnyInRangeUnsignedNumber<T, DontNegate<T>>(ref searchSpace, lowInclusive, highInclusive, length); 3875return typeof(TNegator) == typeof(DontNegate<ushort>) 4024LastIndexOfAnyInRangeUnsignedNumber<T, DontNegate<T>>(ref searchSpace, lowInclusive, highInclusive, length);