Closed lithiumtoast closed 1 year ago
Workaround for now is to use the following in for your IWriterCSharpCode
implementation:
options.IsEnabledVerifyCSharpCodeCompiles = false;
This seems to be resolved with adding header/footer code regions and refactoring the code for checking if the code compiles to a common functionality across production and test code.
Discovered when using Sokol. I have a custom
Rgba32F
type forsg_color
. C2CS complains that it can't find this type when verifying the generated code compiles.