116 references to NegateIfNeeded
System.Private.CoreLib (116)
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.Packed.cs (16)
326
if (TNegator.
NegateIfNeeded
(TTransform.TransformInput(searchSpace) == value)) return 0;
327
if (TNegator.
NegateIfNeeded
(TTransform.TransformInput(Unsafe.Add(ref searchSpace, 1)) == value)) return 1;
328
if (TNegator.
NegateIfNeeded
(TTransform.TransformInput(Unsafe.Add(ref searchSpace, 2)) == value)) return 2;
329
if (TNegator.
NegateIfNeeded
(TTransform.TransformInput(Unsafe.Add(ref searchSpace, 3)) == value)) return 3;
338
if (TNegator.
NegateIfNeeded
(TTransform.TransformInput(Unsafe.Add(ref searchSpace, offset)) == value)) return (int)offset;
532
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) return 0;
534
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) return 1;
536
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) return 2;
538
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) return 3;
548
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) return (int)offset;
746
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) return 0;
748
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) return 1;
750
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) return 2;
752
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) return 3;
762
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) return (int)offset;
961
if (TNegator.
NegateIfNeeded
((current - lowInclusiveUint) <= rangeInclusiveUint))
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (100)
1509
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
1510
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 1) == value)) goto Found1;
1511
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 2) == value)) goto Found2;
1512
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 3) == value)) goto Found3;
1513
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 4) == value)) goto Found4;
1514
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 5) == value)) goto Found5;
1515
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 6) == value)) goto Found6;
1516
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 7) == value)) goto Found7;
1525
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
1526
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 1) == value)) goto Found1;
1527
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 2) == value)) goto Found2;
1528
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset + 3) == value)) goto Found3;
1537
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
1720
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
1722
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found1;
1724
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found2;
1726
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found3;
1728
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found4;
1730
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found5;
1732
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found6;
1734
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found7;
1746
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
1748
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found1;
1750
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found2;
1752
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found3;
1762
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
1927
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
1929
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found1;
1931
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found2;
1933
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found3;
1935
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found4;
1937
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found5;
1939
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found6;
1941
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found7;
1953
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
1955
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found1;
1957
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found2;
1959
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found3;
1969
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
2117
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found;
2119
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found1;
2121
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found2;
2123
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found3;
2133
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found;
2279
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) goto Found;
2281
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) goto Found1;
2283
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) goto Found2;
2285
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) goto Found3;
2295
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) goto Found;
2442
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
2443
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 1) == value)) goto FoundM1;
2444
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 2) == value)) goto FoundM2;
2445
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 3) == value)) goto FoundM3;
2446
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 4) == value)) goto FoundM4;
2447
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 5) == value)) goto FoundM5;
2448
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 6) == value)) goto FoundM6;
2449
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 7) == value)) goto FoundM7;
2458
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
2459
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 1) == value)) goto FoundM1;
2460
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 2) == value)) goto FoundM2;
2461
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset - 3) == value)) goto FoundM3;
2470
if (TNegator.
NegateIfNeeded
(Unsafe.Add(ref searchSpace, offset) == value)) goto Found;
2567
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
2569
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM1;
2571
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM2;
2573
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM3;
2575
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM4;
2577
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM5;
2579
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM6;
2581
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM7;
2593
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
2595
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM1;
2597
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM2;
2599
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto FoundM3;
2609
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1)) goto Found;
2752
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
2754
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM1;
2756
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM2;
2758
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM3;
2760
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM4;
2762
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM5;
2764
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM6;
2766
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM7;
2778
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
2780
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM1;
2782
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM2;
2784
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto FoundM3;
2794
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2)) goto Found;
2936
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found;
2938
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto FoundM1;
2940
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto FoundM2;
2942
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto FoundM3;
2952
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3)) goto Found;
3203
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) return (int)offset;
3205
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) return (int)offset - 1;
3207
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) return (int)offset - 2;
3209
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) return (int)offset - 3;
3219
if (TNegator.
NegateIfNeeded
(lookUp == value0 || lookUp == value1 || lookUp == value2 || lookUp == value3 || lookUp == value4)) return (int)offset;
3507
if (TNegator.
NegateIfNeeded
((current - lowInclusive) <= rangeInclusive))
3654
if (TNegator.
NegateIfNeeded
((current - lowInclusive) <= rangeInclusive))