Ignore getters and setters for method count

This commit is contained in:
Cj 2024-06-28 02:44:41 -04:00
parent 3970812d4f
commit 99e64e5e36

View File

@ -86,7 +86,7 @@ internal static class MethodTypeFilters
int count = 0; int count = 0;
foreach (var method in type.Methods) foreach (var method in type.Methods)
{ {
if (!method.IsConstructor && !method.IsSpecialName) if (!method.IsConstructor && !method.IsSpecialName && !method.IsGetter && !method.IsSetter)
{ {
count++; count++;
} }