using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Reflection { /// The exception that is thrown when the binary format of a custom attribute is invalid. // Token: 0x0200023A RID: 570 [ComVisible(true)] [Serializable] public class CustomAttributeFormatException : FormatException { /// Initializes a new instance of the class with the default properties. // Token: 0x06001DE1 RID: 7649 RVA: 0x00070094 File Offset: 0x0006E294 public CustomAttributeFormatException() : base(Locale.GetText("The Binary format of the custom attribute is invalid.")) { } /// Initializes a new instance of the class with the specified message. /// The message that indicates the reason this exception was thrown. // Token: 0x06001DE2 RID: 7650 RVA: 0x000700A8 File Offset: 0x0006E2A8 public CustomAttributeFormatException(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 null, the current exception is raised in a catch block that handles the inner exception. // Token: 0x06001DE3 RID: 7651 RVA: 0x000700B4 File Offset: 0x0006E2B4 public CustomAttributeFormatException(string message, Exception inner) : base(message, inner) { } /// Initializes a new instance of the class with the specified serialization and context information. /// The data for serializing or deserializing the custom attribute. /// The source and destination for the custom attribute. // Token: 0x06001DE4 RID: 7652 RVA: 0x000700C0 File Offset: 0x0006E2C0 protected CustomAttributeFormatException(SerializationInfo info, StreamingContext context) { } } }