Ignore getters and setters for method count
This commit is contained in:
parent
3970812d4f
commit
99e64e5e36
@ -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++;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user