scripts
This commit is contained in:
@@ -0,0 +1,53 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Runtime.Serialization;
|
||||
|
||||
namespace System
|
||||
{
|
||||
/// <summary>The exception that is thrown when an attempt to access a class member fails.</summary>
|
||||
/// <filterpriority>2</filterpriority>
|
||||
// Token: 0x02000683 RID: 1667
|
||||
[ComVisible(true)]
|
||||
[Serializable]
|
||||
public class MemberAccessException : SystemException
|
||||
{
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.MemberAccessException" /> class.</summary>
|
||||
// Token: 0x06003F44 RID: 16196 RVA: 0x000D5C58 File Offset: 0x000D3E58
|
||||
public MemberAccessException()
|
||||
: base(Locale.GetText("Cannot access a class member."))
|
||||
{
|
||||
base.HResult = -2146233062;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.MemberAccessException" /> class with a specified error message.</summary>
|
||||
/// <param name="message">The message that describes the error. </param>
|
||||
// Token: 0x06003F45 RID: 16197 RVA: 0x000D5C78 File Offset: 0x000D3E78
|
||||
public MemberAccessException(string message)
|
||||
: base(message)
|
||||
{
|
||||
base.HResult = -2146233062;
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.MemberAccessException" /> class with serialized data.</summary>
|
||||
/// <param name="info">The object that holds the serialized object data. </param>
|
||||
/// <param name="context">The contextual information about the source or destination. </param>
|
||||
// Token: 0x06003F46 RID: 16198 RVA: 0x000D5C8C File Offset: 0x000D3E8C
|
||||
protected MemberAccessException(SerializationInfo info, StreamingContext context)
|
||||
: base(info, context)
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>Initializes a new instance of the <see cref="T:System.MemberAccessException" /> 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 a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. </param>
|
||||
// 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user