summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI.AssemblyRewriters/Finders
diff options
context:
space:
mode:
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";