March 2002
Intermediate to advanced
864 pages
31h 8m
English
InvalidProgramException
This exception indicates that the .NET execution engine found some invalid code or metadata in a program. This can be caused by a compiler bug that generates malformed MSIL (Microsoft Intermediate Language) instructions.
public sealed class InvalidProgramException : SystemException { // Public Constructors public method InvalidProgramException(); public method InvalidProgramException(string message); public method InvalidProgramException(string message, Exception inner); }
Object→Exception(System.Runtime.Serialization.ISerializable)→SystemException→InvalidProgramException