diff options
author | bladeoflight16 <1159076+bladeoflight16@users.noreply.github.com> | 2021-07-31 15:28:22 -0400 |
---|---|---|
committer | bladeoflight16 <1159076+bladeoflight16@users.noreply.github.com> | 2021-07-31 15:28:22 -0400 |
commit | f7f49aa8dfc4a608a5c5571815263cca195dd540 (patch) | |
tree | 57a2a750b6ef07f3f7f13f4b26e48cf4ccb7bd57 /src/SMAPI.Internal.Patching/PatchHelper.cs | |
parent | 80d5672cdb04e8cba40b085b32ffcaf1fea78552 (diff) | |
download | SMAPI-f7f49aa8dfc4a608a5c5571815263cca195dd540.tar.gz SMAPI-f7f49aa8dfc4a608a5c5571815263cca195dd540.tar.bz2 SMAPI-f7f49aa8dfc4a608a5c5571815263cca195dd540.zip |
Target typed constructors are not yet supported by Mono. Adding explicit class name to resolve build error.
Diffstat (limited to 'src/SMAPI.Internal.Patching/PatchHelper.cs')
-rw-r--r-- | src/SMAPI.Internal.Patching/PatchHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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 /// <param name="generics">The method generic types, or <c>null</c> if it's not generic.</param> 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); |