Skip to content

Commit

Permalink
Use less arbitrary number
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jan 13, 2025
1 parent 97c1ed9 commit ba75ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Funcky/Extensions/DictionaryExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static Option<TValue> GetValueOrNone<TKey, TValue>(this IDictionary<TKey,
: Option<TValue>.None;

[Pure]
[OverloadResolutionPriority(10)]
[OverloadResolutionPriority(1)]
public static Option<TValue> GetValueOrNone<TKey, TValue>(this IReadOnlyDictionary<TKey, TValue> dictionary, TKey readOnlyKey)
#if NETCOREAPP3_1
// TKey was constraint to notnull when nullability annotations were originally added. It was later dropped again.
Expand Down

0 comments on commit ba75ecb

Please sign in to comment.