Fix CA1304

This commit is contained in:
RoosterDragon
2023-03-12 12:09:47 +00:00
committed by Matthias Mailänder
parent 949ba589c0
commit 486a07602b
5 changed files with 15 additions and 14 deletions

View File

@@ -22,11 +22,6 @@ namespace OpenRA
{
public static class Exts
{
public static bool IsUppercase(this string str)
{
return string.Compare(str.ToUpperInvariant(), str, false) == 0;
}
public static T WithDefault<T>(T def, Func<T> f)
{
try { return f(); }