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