15 references to Contains
System.Private.CoreLib (15)
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\AnyByteSearchValues.cs (1)
24_state.Lookup.Contains(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\AsciiByteSearchValues.cs (1)
40_state.Lookup.Contains(value);
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\IndexOfAnyAsciiSearcher.cs (5)
164if (valuesByLowNibble.GetElement(0) == 0 && !lookup.Contains(0)) 586if (TNegator.NegateIfNeeded(state.Lookup.Contains(b))) 711if (TNegator.NegateIfNeeded(state.Lookup.Contains(b))) 857if (TNegator.NegateIfNeeded(state.Lookup.Contains(b))) 985if (TNegator.NegateIfNeeded(state.Lookup.Contains(b)))
src\runtime\src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticWithAsciiCharSearchValues.cs (8)
53Debug.Assert(_asciiState.Lookup.Contains(0) != _inverseAsciiState.Lookup.Contains(0)); 57Debug.Assert(_inverseAsciiState.Lookup.Contains(0), "The inverse bitmap did not contain a 0."); 66Debug.Assert(!(Ssse3.IsSupported || PackedSimd.IsSupported) || !_inverseAsciiState.Lookup.Contains(0), 150Debug.Assert(_asciiState.Lookup.Contains(0) != _inverseAsciiState.Lookup.Contains(0)); 156Debug.Assert(_inverseAsciiState.Lookup.Contains(0), "The inverse bitmap did not contain a 0."); 165Debug.Assert(!(Ssse3.IsSupported || PackedSimd.IsSupported) || !_inverseAsciiState.Lookup.Contains(0),