Fix non static member in static class

This commit is contained in:
wolfcomp 2026-01-27 15:26:31 +01:00 committed by GitHub
parent 44240bd19a
commit b4aea8d299
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -106,7 +106,7 @@ internal static class HookVerifier
} }
} }
private bool CheckParam(Type paramLeft, Type paramRight) private static bool CheckParam(Type paramLeft, Type paramRight)
{ {
var sameType = paramLeft == paramRight; var sameType = paramLeft == paramRight;
return sameType || SizeOf(paramLeft) == SizeOf(paramRight); return sameType || SizeOf(paramLeft) == SizeOf(paramRight);