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