using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when an attempt to access a class member fails.
/// 2
// Token: 0x02000683 RID: 1667
[ComVisible(true)]
[Serializable]
public class MemberAccessException : SystemException
{
/// Initializes a new instance of the class.
// Token: 0x06003F44 RID: 16196 RVA: 0x000D5C58 File Offset: 0x000D3E58
public MemberAccessException()
: base(Locale.GetText("Cannot access a class member."))
{
base.HResult = -2146233062;
}
/// Initializes a new instance of the class with a specified error message.
/// The message that describes the error.
// Token: 0x06003F45 RID: 16197 RVA: 0x000D5C78 File Offset: 0x000D3E78
public MemberAccessException(string message)
: base(message)
{
base.HResult = -2146233062;
}
/// Initializes a new instance of the class with serialized data.
/// The object that holds the serialized object data.
/// The contextual information about the source or destination.
// Token: 0x06003F46 RID: 16198 RVA: 0x000D5C8C File Offset: 0x000D3E8C
protected MemberAccessException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// 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.
// Token: 0x06003F47 RID: 16199 RVA: 0x000D5C98 File Offset: 0x000D3E98
public MemberAccessException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233062;
}
// Token: 0x0400192C RID: 6444
private const int Result = -2146233062;
}
}