Update packages to net5

This commit is contained in:
crobibero
2020-11-10 09:52:34 -07:00
parent 7aaf9dbcc3
commit 83629ab6f2
27 changed files with 55 additions and 61 deletions

View File

@@ -22,11 +22,6 @@ namespace MediaBrowser.Model.Extensions
return str;
}
#if NETSTANDARD2_0
char[] a = str.ToCharArray();
a[0] = char.ToUpperInvariant(a[0]);
return new string(a);
#else
return string.Create(
str.Length,
str,
@@ -38,7 +33,6 @@ namespace MediaBrowser.Model.Extensions
chars[i] = buf[i];
}
});
#endif
}
}
}