Fixing mono incompatibility (case exception type statement without variable)

This commit is contained in:
bladeoflight16 2021-07-27 17:17:56 -04:00
parent 175eaad683
commit 97710d6f47
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ namespace StardewModdingAPI.Framework.Logging
break;
// path too long exception
case PathTooLongException:
case PathTooLongException _:
{
string[] affectedPaths = PathUtilities.GetTooLongPaths(Constants.ModsPath).ToArray();
string message = affectedPaths.Any()