From 99e64e5e3618397503a62b20cffdf13a6854a0e2 Mon Sep 17 00:00:00 2001 From: Cj <161484149+CJ-SPT@users.noreply.github.com> Date: Fri, 28 Jun 2024 02:44:41 -0400 Subject: [PATCH] Ignore getters and setters for method count --- RecodeItLib/Remapper/Search/MethodTypeFilters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RecodeItLib/Remapper/Search/MethodTypeFilters.cs b/RecodeItLib/Remapper/Search/MethodTypeFilters.cs index c570085..cfd5a32 100644 --- a/RecodeItLib/Remapper/Search/MethodTypeFilters.cs +++ b/RecodeItLib/Remapper/Search/MethodTypeFilters.cs @@ -86,7 +86,7 @@ internal static class MethodTypeFilters int count = 0; foreach (var method in type.Methods) { - if (!method.IsConstructor && !method.IsSpecialName) + if (!method.IsConstructor && !method.IsSpecialName && !method.IsGetter && !method.IsSetter) { count++; }