tdakkota/win32metadata

signature reader does not return error when it fails

Closed this issue · 1 comments

Hi! I've found that the SignatureReader never fails when calling the Method function. It is returning nil when it should return the error. There are a couple of cases like this:

return MethodSignature{}, nil

return MethodSignature{}, nil

The method I'm reading is the Invoke method from the TypedEventHandler delegate: https://docs.microsoft.com/en-us/uwp/api/windows.foundation.typedeventhandler-2?view=winrt-22621

I've fixed it in #41. Feel free to re-open if the problem still exists.