From 9c1617c9ee51a0f6b93242fe8fc789336957460c Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 11 Apr 2018 21:15:16 -0400 Subject: drop support for Stardew Valley 1.2 (#453) --- src/SMAPI/IPrivateMethod.cs | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 src/SMAPI/IPrivateMethod.cs (limited to 'src/SMAPI/IPrivateMethod.cs') diff --git a/src/SMAPI/IPrivateMethod.cs b/src/SMAPI/IPrivateMethod.cs deleted file mode 100644 index c24db602..00000000 --- a/src/SMAPI/IPrivateMethod.cs +++ /dev/null @@ -1,31 +0,0 @@ -#if !STARDEW_VALLEY_1_3 -using System; -using System.Reflection; - -namespace StardewModdingAPI -{ - /// A private method obtained through reflection. - [Obsolete("Use " + nameof(IReflectedMethod) + " instead")] - public interface IPrivateMethod - { - /********* - ** Accessors - *********/ - /// The reflection metadata. - MethodInfo MethodInfo { get; } - - - /********* - ** Public methods - *********/ - /// Invoke the method. - /// The return type. - /// The method arguments to pass in. - TValue Invoke(params object[] arguments); - - /// Invoke the method. - /// The method arguments to pass in. - void Invoke(params object[] arguments); - } -} -#endif -- cgit