using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System
{
/// The exception that is thrown when an object appears more than once in an array of synchronization objects.
/// 2
// Token: 0x0200065F RID: 1631
[ComVisible(true)]
[Serializable]
public class DuplicateWaitObjectException : ArgumentException
{
/// Initializes a new instance of the class.
// Token: 0x06003E0C RID: 15884 RVA: 0x000D32A4 File Offset: 0x000D14A4
public DuplicateWaitObjectException()
: base(Locale.GetText("Duplicate objects in argument."))
{
base.HResult = -2146233047;
}
/// Initializes a new instance of the class with the name of the parameter that causes this exception.
/// The name of the parameter that caused the exception.
// Token: 0x06003E0D RID: 15885 RVA: 0x000D32C4 File Offset: 0x000D14C4
public DuplicateWaitObjectException(string parameterName)
: base(Locale.GetText("Duplicate objects in argument."), parameterName)
{
base.HResult = -2146233047;
}
/// Initializes a new instance of the class with a specified error message and the name of the parameter that causes this exception.
/// The name of the parameter that caused the exception.
/// The message that describes the error.
// Token: 0x06003E0E RID: 15886 RVA: 0x000D32E4 File Offset: 0x000D14E4
public DuplicateWaitObjectException(string parameterName, string message)
: base(message, parameterName)
{
base.HResult = -2146233047;
}
/// 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: 0x06003E0F RID: 15887 RVA: 0x000D32FC File Offset: 0x000D14FC
public DuplicateWaitObjectException(string message, Exception innerException)
: base(message, innerException)
{
base.HResult = -2146233047;
}
/// 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: 0x06003E10 RID: 15888 RVA: 0x000D3314 File Offset: 0x000D1514
protected DuplicateWaitObjectException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
// Token: 0x040018D1 RID: 6353
private const int Result = -2146233047;
}
}