O'Reilly logo

C# in a Nutshell by Peter Drayton, Ted Neward, Ben Albahari

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 method InvalidProgramException();  
   public method InvalidProgramException(string message);  
   public method InvalidProgramException(string message, 
        Exception inner);  
}

Hierarchy

ObjectException(System.Runtime.Serialization.ISerializable)SystemExceptionInvalidProgramException

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required