// Description: Html Agility Pack - HTML Parsers, selectors, traversors, manupulators. // Website & Documentation: http://html-agility-pack.net // Forum & Issues: https://github.com/zzzprojects/html-agility-pack // License: https://github.com/zzzprojects/html-agility-pack/blob/master/LICENSE // More projects: http://www.zzzprojects.com/ // Copyright © ZZZ Projects Inc. 2014 - 2017. All rights reserved. #if METRO using System.Runtime.InteropServices; namespace System { /// /// The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. Generally this indicates a bug in the compiler that generated the program. /// /// 2 [ComVisible(true)] public sealed class InvalidProgramException : Exception { /// /// Initializes a new instance of the class with default properties. /// public InvalidProgramException() { } /// /// Initializes a new instance of the class with a specified error message. /// /// The error message that explains the reason for the exception. public InvalidProgramException(string message) : base(message) { } /// /// Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. /// /// The error message that explains the reason for the exception. The exception that is the cause of the current exception. If the parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. public InvalidProgramException(string message, Exception inner) : base(message, inner) { } } } #endif