From bf3ebb434ce0088d44164841277448b7596cf732 Mon Sep 17 00:00:00 2001 From: Andreas Pardeike Date: Wed, 25 Jul 2018 21:18:37 +0200 Subject: [PATCH] Fix typo --- Harmony/Attributes.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Harmony/Attributes.cs b/Harmony/Attributes.cs index 4cd0647f..c5e78219 100644 --- a/Harmony/Attributes.cs +++ b/Harmony/Attributes.cs @@ -12,7 +12,7 @@ public enum MethodType StaticConstructor } - [Obsolete("This enum will be remove in the next major version. To define special methods, use MethodType")] + [Obsolete("This enum will be removed in the next major version. To define special methods, use MethodType")] public enum PropertyMethod { Getter, @@ -132,14 +132,14 @@ public HarmonyPatch(Type declaringType, string propertyName, MethodType methodTy // - [Obsolete("This attribute will be remove in the next major version. Use HarmonyPatch together with MethodType.Getter or MethodType.Setter instead")] + [Obsolete("This attribute will be removed in the next major version. Use HarmonyPatch together with MethodType.Getter or MethodType.Setter instead")] public HarmonyPatch(string propertyName, PropertyMethod type) { info.methodName = propertyName; info.methodType = type == PropertyMethod.Getter ? MethodType.Getter : MethodType.Setter; } - [Obsolete("This attribute will be remove in the next major version. Use a combination of the other attributes instead")] + [Obsolete("This attribute will be removed in the next major version. Use a combination of the other attributes instead")] public HarmonyPatch(Type declaringType, Type[] argumentTypes) { info.declaringType = declaringType;