8 implementations of Contains
Microsoft.Build.Framework (1)
ImmutableSegmentedDictionary`2.cs (1)
193public bool Contains(KeyValuePair<TKey, TValue> pair)
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
181public bool Contains(KeyValuePair<TKey, TValue> pair)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
181public bool Contains(KeyValuePair<TKey, TValue> pair)
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedDictionary`2.cs (1)
181public bool Contains(KeyValuePair<TKey, TValue> pair)
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
181public bool Contains(KeyValuePair<TKey, TValue> pair)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
181public bool Contains(KeyValuePair<TKey, TValue> pair)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
399public bool Contains(KeyValuePair<TKey, TValue> pair)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
440public bool Contains(KeyValuePair<TKey, TValue> pair)
4 references to Contains
Microsoft.CodeAnalysis.UnitTests (3)
Collections\ImmutableDictionaryTestBase.cs (3)
247Assert.False(empty.Contains(new KeyValuePair<K, V?>(someKey, default(V)))); 301Assert.False(map.Contains(new KeyValuePair<TKey, TValue>(key, value))); 303Assert.True(map.Add(key, value).Contains(new KeyValuePair<TKey, TValue>(key, value)));
System.Collections.Immutable (1)
System\Collections\Immutable\ImmutableDictionary.cs (1)
283return map.Contains(new KeyValuePair<TKey, TValue>(key, value));