6 references to TryGetValue
Microsoft.CodeAnalysis (2)
ImmutableSegmentedHashSet`1.cs (1)
220
if (_set.
TryGetValue
(equalValue, out var value))
ImmutableSegmentedHashSet`1+Builder.cs (1)
208
if (ReadOnlySet.
TryGetValue
(equalValue, out var value))
Microsoft.CodeAnalysis.UnitTests (4)
Collections\HashSet\SegmentedHashSet_Generic_Tests`1.cs (4)
444
Assert.True(set.
TryGetValue
(equalValue, out T? actualValue));
461
Assert.True(set.
TryGetValue
(equalValue, out actualValue));
475
Assert.False(set.
TryGetValue
(equalValue, out T? actualValue));
488
Assert.False(set.
TryGetValue
(equalValue, out actualValue));