Open StummeJ opened 5 years ago
It looks like there is no null check on methodBase on the GetIndexMatchingShim method in the StubHelper.cs file. This is causing an exception.
methodBase
GetIndexMatchingShim
StubHelper.cs
We were replacing a static method in a static class. Unforcantly I cannot post a code sample for this.
Should there be a null check here before checking if the method is static?
It looks like there is no null check on
methodBase
on theGetIndexMatchingShim
method in theStubHelper.cs
file. This is causing an exception.We were replacing a static method in a static class. Unforcantly I cannot post a code sample for this.
Should there be a null check here before checking if the method is static?