Remove unused parameter

This commit is contained in:
Paul Pacheco 2020-09-21 16:58:33 -05:00
parent 76ce3796eb
commit 7347e5700d

View File

@ -39,7 +39,7 @@ static bool ProcessSiteMethod(TypeDefinition td, MethodDefinition md)
if (md.Body != null && md.Body.Instructions != null) if (md.Body != null && md.Body.Instructions != null)
{ {
return ProcessMethodAttributes(td, md); return ProcessMethodAttributes(md);
} }
return false; return false;
} }
@ -62,7 +62,7 @@ public static bool HasServerClientAttribute(MethodDefinition md)
return false; return false;
} }
public static bool ProcessMethodAttributes(TypeDefinition td, MethodDefinition md) public static bool ProcessMethodAttributes(MethodDefinition md)
{ {
if (md.HasCustomAttribute<ServerAttribute>()) if (md.HasCustomAttribute<ServerAttribute>())
InjectServerGuard(md, true); InjectServerGuard(md, true);