summaryrefslogtreecommitdiff
path: root/src/SMAPI.Internal.Patching/PatchHelper.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-08-01 13:10:36 -0400
committerGitHub <noreply@github.com>2021-08-01 13:10:36 -0400
commitedfb3c9929e685f8b80a6b10895763e81bf41207 (patch)
tree9e8a63f21fa0810937b4a6fa4bd00a4014b458a7 /src/SMAPI.Internal.Patching/PatchHelper.cs
parentc15d43049a08e73090d77cc150ac48476011a68c (diff)
parentdb06291fdbc9a3e9f1afa65f6649e4671fff4756 (diff)
downloadSMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.tar.gz
SMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.tar.bz2
SMAPI-edfb3c9929e685f8b80a6b10895763e81bf41207.zip
Merge pull request #794 from bladeoflight16/monoandprojectfixes
Fix Mono build error and duplicate targets import
Diffstat (limited to 'src/SMAPI.Internal.Patching/PatchHelper.cs')
-rw-r--r--src/SMAPI.Internal.Patching/PatchHelper.cs2
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);