Skip to content

Commit

Permalink
Removed Nullable Attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelstaib committed Mar 5, 2020
1 parent b3290f4 commit 707dabc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Core/Abstractions/ExtensionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,8 @@ public bool Remove(KeyValuePair<string, object> item)
return contains;
}

#if NETSTANDARD2_0
public bool TryGetValue(string key, out object value) =>
_dict.TryGetValue(key, out value);
#else
public bool TryGetValue(string key, [MaybeNullWhen(false)] out object value) =>
_dict.TryGetValue(key, out value);
#endif

bool IReadOnlyDictionary<string, object>.TryGetValue(string key, out object value) =>
TryGetValue(key, out value);
Expand Down

0 comments on commit 707dabc

Please sign in to comment.