Skip to content

Commit

Permalink
Update PolyfillExtensions_Dictionary.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Nov 30, 2023
1 parent 6bd1792 commit 2c9187c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Polyfill/PolyfillExtensions_Dictionary.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ static partial class PolyfillExtensions
/// <returns><code>true</code> if the element is successfully found and removed; otherwise, <code>false</code>.</returns>
/// <exception cref="ArgumentNullException"><paramref name="key"/> is <code>null</code>.</exception>
[Link("https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.remove")]
public static bool Remove<TKey, TValue>(
this Dictionary<TKey,TValue> target,
TKey key,
public static bool Remove<TKey, TValue>(
this Dictionary<TKey,TValue> target,
TKey key,
[MaybeNullWhen(false)] out TValue value)
{
target.TryGetValue(key, out value);
Expand Down

0 comments on commit 2c9187c

Please sign in to comment.