13 references to Keys
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (4)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 102IEnumerable<TKey> IReadOnlyDictionary<TKey, TValue>.Keys => Keys; 108ICollection IDictionary.Keys => Keys; 249foreach (var key in self.Keys)
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\EditAndContinue\SymbolMatcherTests.cs (3)
1465Assert.Contains(new SynthesizedDelegateKey("<>F{00000008}`3"), synthesizedDelegates0.Keys); 1466Assert.Contains(new SynthesizedDelegateKey("<>A{00000003}`2"), synthesizedDelegates0.Keys); 1467Assert.Contains(new SynthesizedDelegateKey("<>A{00000000,100000000}`33"), synthesizedDelegates0.Keys);
Microsoft.CodeAnalysis.UnitTests (6)
Collections\ImmutableSegmentedDictionaryTest.cs (6)
68Assert.Equal("A", map.Keys.Single()); 128Assert.Equal("A", dictionary.Keys.Single()); 134Assert.Equal("A", dictionary.Keys.Single()); 310Assert.False(map.Keys.All((key, arg) => key == arg, "a")); 311Assert.True(map.Keys.All((key, arg) => key.Length == arg, 1)); 313Assert.True(ImmutableSegmentedDictionary<int, int>.Empty.Keys.All((_, _) => false, 0));