Files
Dec2017-Script-Dump/mscorlib/System/EntryPointNotFoundException.cs
T
2026-06-04 11:42:34 +02:00

54 lines
2.5 KiB
C#

using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// <summary>The exception that is thrown when an attempt to load a class fails due to the absence of an entry method.</summary>
/// <filterpriority>2</filterpriority>
// Token: 0x02000660 RID: 1632
[ComVisible(true)]
[Serializable]
public class EntryPointNotFoundException : TypeLoadException
{
/// <summary>Initializes a new instance of the <see cref="T:System.EntryPointNotFoundException" /> class.</summary>
// Token: 0x06003E11 RID: 15889 RVA: 0x000D3320 File Offset: 0x000D1520
public EntryPointNotFoundException()
: base(Locale.GetText("Cannot load class because of missing entry method."))
{
base.HResult = -2146233053;
}
/// <summary>Initializes a new instance of the <see cref="T:System.EntryPointNotFoundException" /> class with a specified error message.</summary>
/// <param name="message">The error message that explains the reason for the exception. </param>
// Token: 0x06003E12 RID: 15890 RVA: 0x000D3340 File Offset: 0x000D1540
public EntryPointNotFoundException(string message)
: base(message)
{
base.HResult = -2146233053;
}
/// <summary>Initializes a new instance of the <see cref="T:System.EntryPointNotFoundException" /> 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: 0x06003E13 RID: 15891 RVA: 0x000D3354 File Offset: 0x000D1554
protected EntryPointNotFoundException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.EntryPointNotFoundException" /> 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: 0x06003E14 RID: 15892 RVA: 0x000D3360 File Offset: 0x000D1560
public EntryPointNotFoundException(string message, Exception inner)
: base(message, inner)
{
base.HResult = -2146233053;
}
// Token: 0x040018D2 RID: 6354
private const int Result = -2146233053;
}
}