7 implementations of TryGetValue
Microsoft.CodeAnalysis (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
264public bool TryGetValue(T equalValue, out T actualValue)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
264public bool TryGetValue(T equalValue, out T actualValue)
Microsoft.CodeAnalysis.Collections.Package (1)
ImmutableSegmentedHashSet`1.cs (1)
264public bool TryGetValue(T equalValue, out T actualValue)
Microsoft.CodeAnalysis.Workspaces (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
264public bool TryGetValue(T equalValue, out T actualValue)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
src\Dependencies\Collections\ImmutableSegmentedHashSet`1.cs (1)
264public bool TryGetValue(T equalValue, out T actualValue)
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableHashSet_1.cs (1)
208public bool TryGetValue(T equalValue, out T actualValue)
System\Collections\Immutable\ImmutableSortedSet_1.cs (1)
204public bool TryGetValue(T equalValue, out T actualValue)
4 references to TryGetValue
Microsoft.CodeAnalysis.UnitTests (4)
Collections\ImmutableSetTest.cs (1)
213Assert.True(set.TryGetValue(null, out var @null));
Collections\ImmutableSetTest.nonnetstandard.cs (3)
100Assert.True(set.TryGetValue(lookupValue, out string actual)); 103Assert.False(set.TryGetValue("foo", out actual)); 106Assert.False(set.Clear().TryGetValue("nonexistent", out actual));