From f7f49aa8dfc4a608a5c5571815263cca195dd540 Mon Sep 17 00:00:00 2001 From: bladeoflight16 <1159076+bladeoflight16@users.noreply.github.com> Date: Sat, 31 Jul 2021 15:28:22 -0400 Subject: Target typed constructors are not yet supported by Mono. Adding explicit class name to resolve build error. --- src/SMAPI.Internal.Patching/PatchHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI.Internal.Patching/PatchHelper.cs') diff --git a/src/SMAPI.Internal.Patching/PatchHelper.cs b/src/SMAPI.Internal.Patching/PatchHelper.cs index c9758616..fc79ddf2 100644 --- a/src/SMAPI.Internal.Patching/PatchHelper.cs +++ b/src/SMAPI.Internal.Patching/PatchHelper.cs @@ -43,7 +43,7 @@ namespace StardewModdingAPI.Internal.Patching /// The method generic types, or null if it's not generic. public static string GetMethodString(Type type, string name, Type[] parameters = null, Type[] generics = null) { - StringBuilder str = new(); + StringBuilder str = new StringBuilder(); // type str.Append(type.FullName); -- cgit