Added .NET Core 3.1 target to test projects
このコミットが含まれているのは:
1 親
06ce524740
コミット
1e4b547c38
7ファイル変更
+22
-9
検索条件に一致するファイルはありません
@@ -14,7 +14,8 @@ internal static class DictionaryExtensions
|
||||
/// <param name="key">The lookup key to use.</param>
|
||||
/// <param name="value">The resulting item, if present.</param>
|
||||
/// <returns>Whether or not an item was found with the given key.</returns>
|
||||
public static bool Remove<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, out TValue value)
|
||||
public static bool Remove<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, TKey key, out TValue? value)
|
||||
where TKey : notnull
|
||||
{
|
||||
if (dictionary.TryGetValue(key, out value))
|
||||
{
|
||||
|
||||
@@ -14,6 +14,6 @@ internal static class Enum
|
||||
public static string GetName<T>(T value)
|
||||
where T : unmanaged, global::System.Enum
|
||||
{
|
||||
return global::System.Enum.GetName(typeof(T), value);
|
||||
return global::System.Enum.GetName(typeof(T), value)!;
|
||||
}
|
||||
}
|
||||
新しいイシューから参照
ユーザーをブロックする