PHNT includes some #if directives that look like below, and that causes ClangSharpPInvokeGenerator to output "token is not a valid binary operator in a preprocessor subexpression":
#define PHNT_MODE_KERNEL 0
#ifndef PHNT_MODE
#define PHNT_MODE 1
#endif
#if (PHNT_MODE != PHNT_MODE_KERNEL)
// Some real code here
#endif
PHNT includes some #if directives that look like below, and that causes ClangSharpPInvokeGenerator to output "token is not a valid binary operator in a preprocessor subexpression":