Name
InvalidProgramException
Synopsis
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 InvalidProgramException( ); public InvalidProgramException(stringmessage
); public InvalidProgramException(stringmessage
, Exceptioninner
); }
Hierarchy
Object
→
Exception(System.Runtime.Serialization.ISerializable)
→
SystemException
→
InvalidProgramException
Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.