summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.AssemblyRewriters/Finders
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-03-25 13:50:01 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-03-25 13:50:01 -0400
commit4d48bdfe7c3806ec1995cd499ca9382ace2d8a53 (patch)
tree38d7ec99b4fce57426a022be20a7a601bdbe9255 /src/StardewModdingAPI.AssemblyRewriters/Finders
parent2e58f853d27cc200be5b34a1ebef5bbdb7703a49 (diff)
downloadSMAPI-4d48bdfe7c3806ec1995cd499ca9382ace2d8a53.tar.gz
SMAPI-4d48bdfe7c3806ec1995cd499ca9382ace2d8a53.tar.bz2
SMAPI-4d48bdfe7c3806ec1995cd499ca9382ace2d8a53.zip
drop 'generic' prefix for rewriters since they're all generic now
Diffstat (limited to 'src/StardewModdingAPI.AssemblyRewriters/Finders')
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Finders/EventFinder.cs (renamed from src/StardewModdingAPI.AssemblyRewriters/Finders/GenericEventFinder.cs)4
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Finders/FieldFinder.cs (renamed from src/StardewModdingAPI.AssemblyRewriters/Finders/GenericFieldFinder.cs)4
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Finders/MethodFinder.cs (renamed from src/StardewModdingAPI.AssemblyRewriters/Finders/GenericMethodFinder.cs)4
-rw-r--r--src/StardewModdingAPI.AssemblyRewriters/Finders/TypeFinder.cs (renamed from src/StardewModdingAPI.AssemblyRewriters/Finders/GenericTypeFinder.cs)4
4 files changed, 8 insertions, 8 deletions
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericEventFinder.cs b/src/StardewModdingAPI.AssemblyRewriters/Finders/EventFinder.cs
index c2a981e5..359ca63e 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericEventFinder.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Finders/EventFinder.cs
@@ -5,7 +5,7 @@ using StardewModdingAPI.AssemblyRewriters.Framework;
namespace StardewModdingAPI.AssemblyRewriters.Finders
{
/// <summary>Finds CIL instructions that reference a given event.</summary>
- public sealed class GenericEventFinder : BaseMethodFinder
+ public sealed class EventFinder : BaseMethodFinder
{
/*********
** Properties
@@ -30,7 +30,7 @@ namespace StardewModdingAPI.AssemblyRewriters.Finders
/// <summary>Construct an instance.</summary>
/// <param name="fullTypeName">The full type name for which to find references.</param>
/// <param name="eventName">The event name for which to find references.</param>
- public GenericEventFinder(string fullTypeName, string eventName)
+ public EventFinder(string fullTypeName, string eventName)
{
this.FullTypeName = fullTypeName;
this.EventName = eventName;
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericFieldFinder.cs b/src/StardewModdingAPI.AssemblyRewriters/Finders/FieldFinder.cs
index 056422a4..516641f2 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericFieldFinder.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Finders/FieldFinder.cs
@@ -5,7 +5,7 @@ using StardewModdingAPI.AssemblyRewriters.Framework;
namespace StardewModdingAPI.AssemblyRewriters.Finders
{
/// <summary>Finds CIL instructions that reference a given field.</summary>
- public sealed class GenericFieldFinder : BaseFieldFinder
+ public sealed class FieldFinder : BaseFieldFinder
{
/*********
** Properties
@@ -34,7 +34,7 @@ namespace StardewModdingAPI.AssemblyRewriters.Finders
/// <param name="fullTypeName">The full type name for which to find references.</param>
/// <param name="fieldName">The field name for which to find references.</param>
/// <param name="isStatic">Whether the field to match is static.</param>
- public GenericFieldFinder(string fullTypeName, string fieldName, bool isStatic)
+ public FieldFinder(string fullTypeName, string fieldName, bool isStatic)
{
this.FullTypeName = fullTypeName;
this.FieldName = fieldName;
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericMethodFinder.cs b/src/StardewModdingAPI.AssemblyRewriters/Finders/MethodFinder.cs
index f5443558..6c210d68 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericMethodFinder.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Finders/MethodFinder.cs
@@ -5,7 +5,7 @@ using StardewModdingAPI.AssemblyRewriters.Framework;
namespace StardewModdingAPI.AssemblyRewriters.Finders
{
/// <summary>Finds CIL instructions that reference a given method.</summary>
- public sealed class GenericMethodFinder : BaseMethodFinder
+ public sealed class MethodFinder : BaseMethodFinder
{
/*********
** Properties
@@ -30,7 +30,7 @@ namespace StardewModdingAPI.AssemblyRewriters.Finders
/// <summary>Construct an instance.</summary>
/// <param name="fullTypeName">The full type name for which to find references.</param>
/// <param name="methodName">The method name for which to find references.</param>
- public GenericMethodFinder(string fullTypeName, string methodName)
+ public MethodFinder(string fullTypeName, string methodName)
{
this.FullTypeName = fullTypeName;
this.MethodName = methodName;
diff --git a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericTypeFinder.cs b/src/StardewModdingAPI.AssemblyRewriters/Finders/TypeFinder.cs
index 1556cc3c..ba8e7102 100644
--- a/src/StardewModdingAPI.AssemblyRewriters/Finders/GenericTypeFinder.cs
+++ b/src/StardewModdingAPI.AssemblyRewriters/Finders/TypeFinder.cs
@@ -5,7 +5,7 @@ using Mono.Cecil.Cil;
namespace StardewModdingAPI.AssemblyRewriters.Finders
{
/// <summary>Finds CIL instructions that reference a given type.</summary>
- public sealed class GenericTypeFinder : IInstructionFinder
+ public sealed class TypeFinder : IInstructionFinder
{
/*********
** Accessors
@@ -26,7 +26,7 @@ namespace StardewModdingAPI.AssemblyRewriters.Finders
*********/
/// <summary>Construct an instance.</summary>
/// <param name="fullTypeName">The full type name to match.</param>
- public GenericTypeFinder(string fullTypeName)
+ public TypeFinder(string fullTypeName)
{
this.FullTypeName = fullTypeName;
this.NounPhrase = $"obsolete {fullTypeName} type";