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/IPrivateField.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/SMAPI/IPrivateField.cs (limited to 'src/SMAPI/IPrivateField.cs') diff --git a/src/SMAPI/IPrivateField.cs b/src/SMAPI/IPrivateField.cs deleted file mode 100644 index 42bf7d2e..00000000 --- a/src/SMAPI/IPrivateField.cs +++ /dev/null @@ -1,30 +0,0 @@ -#if !STARDEW_VALLEY_1_3 -using System; -using System.Reflection; - -namespace StardewModdingAPI -{ - /// A private field obtained through reflection. - /// The field value type. - [Obsolete("Use " + nameof(IReflectedField) + " instead")] - public interface IPrivateField - { - /********* - ** Accessors - *********/ - /// The reflection metadata. - FieldInfo FieldInfo { get; } - - - /********* - ** Public methods - *********/ - /// Get the field value. - TValue GetValue(); - - /// Set the field value. - //// The value to set. - void SetValue(TValue value); - } -} -#endif -- cgit