Edit

Share via


Fatal Error C1352

Invalid or corrupt MSIL in function 'function' from module 'file'

A .netmodule was passed to the compiler, but the compiler detected corruption in the file. Ask the person who produced the .netmodule to investigate.

The compiler does not check .netmodule files for all types of corruption. It does, however, check that all control paths in a function contain a return statement.

For more information, see .netmodule Files as Linker Input.