#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