summaryrefslogtreecommitdiff
path: root/src/SMAPI/IPrivateMethod.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-04-11 21:15:16 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-04-11 21:15:16 -0400
commit9c1617c9ee51a0f6b93242fe8fc789336957460c (patch)
treefc1cf736ed0c7c6e8731abf87bfb8d1a17f8746d /src/SMAPI/IPrivateMethod.cs
parentb9bc1a6d17cafa0a97b46ffecda432cfc2f23b51 (diff)
downloadSMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.tar.gz
SMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.tar.bz2
SMAPI-9c1617c9ee51a0f6b93242fe8fc789336957460c.zip
drop support for Stardew Valley 1.2 (#453)
Diffstat (limited to 'src/SMAPI/IPrivateMethod.cs')
-rw-r--r--src/SMAPI/IPrivateMethod.cs31
1 files changed, 0 insertions, 31 deletions
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
-{
- /// <summary>A private method obtained through reflection.</summary>
- [Obsolete("Use " + nameof(IReflectedMethod) + " instead")]
- public interface IPrivateMethod
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The reflection metadata.</summary>
- MethodInfo MethodInfo { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Invoke the method.</summary>
- /// <typeparam name="TValue">The return type.</typeparam>
- /// <param name="arguments">The method arguments to pass in.</param>
- TValue Invoke<TValue>(params object[] arguments);
-
- /// <summary>Invoke the method.</summary>
- /// <param name="arguments">The method arguments to pass in.</param>
- void Invoke(params object[] arguments);
- }
-}
-#endif