moq/labs

Add support for custom manual mocks in VB

Closed this issue · 1 comments

kzu commented

A NRE deep inside Roslyn is being thrown when we run the VB codefixes in the context of a manual mock that wants to implement IStunt.

The whole analyzer/codefix for VB has been disabled for now as a consequence (for custom mocks)

kzu commented

Fixed in #16. Turned out to be that we were injecting the wrong comment trivia for the file header (it was using the C# version of the trivia, and it failed depending on when the formatting of the document occurred).