summaryrefslogtreecommitdiff
path: root/src/SMAPI/IPrivateProperty.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/IPrivateProperty.cs')
-rw-r--r--src/SMAPI/IPrivateProperty.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/SMAPI/IPrivateProperty.cs b/src/SMAPI/IPrivateProperty.cs
index 8d67fa7a..a24495dd 100644
--- a/src/SMAPI/IPrivateProperty.cs
+++ b/src/SMAPI/IPrivateProperty.cs
@@ -1,9 +1,11 @@
-using System.Reflection;
+using System;
+using System.Reflection;
namespace StardewModdingAPI
{
/// <summary>A private property obtained through reflection.</summary>
/// <typeparam name="TValue">The property value type.</typeparam>
+ [Obsolete("Use " + nameof(IPrivateProperty<TValue>) + " instead")]
public interface IPrivateProperty<TValue>
{
/*********
@@ -23,4 +25,4 @@ namespace StardewModdingAPI
//// <param name="value">The value to set.</param>
void SetValue(TValue value);
}
-} \ No newline at end of file
+}