18 references to Keys
Microsoft.CodeAnalysis (7)
Emit\EditAndContinue\SynthesizedTypeMaps.cs (3)
41=> AnonymousTypes.Keys.All(static (key, other) => other.AnonymousTypes.ContainsKey(key), other) && 42AnonymousDelegates.Keys.All(static (key, other) => other.AnonymousDelegates.ContainsKey(key), other) && 43AnonymousDelegatesWithIndexedNames.Keys.All(static (key, other) => other.AnonymousDelegatesWithIndexedNames.ContainsKey(key), other);
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 (2)
Emitter\EditAndContinue\PEDeltaAssemblyBuilder.cs (2)
263return ImmutableArray.CreateRange(PreviousGeneration.SynthesizedTypes.AnonymousTypes.Keys); 268return ImmutableArray.CreateRange(PreviousGeneration.SynthesizedTypes.AnonymousDelegates.Keys);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (3)
Emit\EditAndContinue\SymbolMatcherTests.cs (3)
1464Assert.Contains(new SynthesizedDelegateKey("<>F{00000008}`3"), synthesizedDelegates0.Keys); 1465Assert.Contains(new SynthesizedDelegateKey("<>A{00000003}`2"), synthesizedDelegates0.Keys); 1466Assert.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));