3 implementations of Contains
System.Linq (2)
System\Linq\Lookup.cs (2)
136public bool Contains(TKey key) => GetGrouping(key, create: false) is not null; 312public bool Contains(TKey key) => false;
System.Linq.Parallel (1)
System\Linq\Parallel\Utils\Lookup.cs (1)
90public bool Contains(TKey key)
4 references to Contains
Microsoft.CodeAnalysis.UnitTests (2)
CachingLookupTests.cs (2)
108Assert.Equal(look1.Contains(k), look2.Contains(k)); 114Assert.False(look1.Contains(k));
Microsoft.Data.Analysis.Tests (2)
ArrayComparer.cs (2)
166if (!s1.FieldsList.All(field => s2.FieldsLookup.Contains(field.Name) && FieldComparer.Equals(field, s2.GetFieldByName(field.Name))) || 167!s2.FieldsList.All(field => s1.FieldsLookup.Contains(field.Name) && FieldComparer.Equals(field, s1.GetFieldByName(field.Name))))