From cb37644291012a8f4797e009bf0fdcb3ab51845f Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Sat, 22 Aug 2020 21:47:37 -0400 Subject: [PATCH] move assembly attributes to match convention --- src/SMAPI/Program.cs | 4 ---- src/SMAPI/Properties/AssemblyInfo.cs | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 src/SMAPI/Properties/AssemblyInfo.cs diff --git a/src/SMAPI/Program.cs b/src/SMAPI/Program.cs index 6f3c8c55..a8f20c69 100644 --- a/src/SMAPI/Program.cs +++ b/src/SMAPI/Program.cs @@ -3,16 +3,12 @@ using System.Diagnostics.CodeAnalysis; using System.IO; using System.Linq; using System.Reflection; -using System.Runtime.CompilerServices; using System.Threading; #if SMAPI_FOR_WINDOWS #endif using StardewModdingAPI.Framework; using StardewModdingAPI.Toolkit.Utilities; -[assembly: InternalsVisibleTo("SMAPI.Tests")] -[assembly: InternalsVisibleTo("ConsoleCommands")] // for performance monitoring commands -[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // Moq for unit testing namespace StardewModdingAPI { /// The main entry point for SMAPI, responsible for hooking into and launching the game. diff --git a/src/SMAPI/Properties/AssemblyInfo.cs b/src/SMAPI/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..f8f7f4ea --- /dev/null +++ b/src/SMAPI/Properties/AssemblyInfo.cs @@ -0,0 +1,5 @@ +using System.Runtime.CompilerServices; + +[assembly: InternalsVisibleTo("SMAPI.Tests")] +[assembly: InternalsVisibleTo("ConsoleCommands")] // for performance monitoring commands +[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] // Moq for unit testing