using System;
using System.Runtime.InteropServices;
using System.Runtime.Serialization;
namespace System.Reflection
{
/// The exception that is thrown when the number of parameters for an invocation does not match the number expected. This class cannot be inherited.
// Token: 0x0200026F RID: 623
[ComVisible(true)]
[Serializable]
public sealed class TargetParameterCountException : Exception
{
/// Initializes a new instance of the class with an empty message string and the root cause of the exception.
// Token: 0x06001FF3 RID: 8179 RVA: 0x00074A34 File Offset: 0x00072C34
public TargetParameterCountException()
: base(Locale.GetText("Number of parameter does not match expected count."))
{
}
/// Initializes a new instance of the class with its message string set to the given message and the root cause exception.
/// A String describing the reason this exception was thrown.
// Token: 0x06001FF4 RID: 8180 RVA: 0x00074A48 File Offset: 0x00072C48
public TargetParameterCountException(string message)
: base(message)
{
}
/// 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: 0x06001FF5 RID: 8181 RVA: 0x00074A54 File Offset: 0x00072C54
public TargetParameterCountException(string message, Exception inner)
: base(message, inner)
{
}
// Token: 0x06001FF6 RID: 8182 RVA: 0x00074A60 File Offset: 0x00072C60
internal TargetParameterCountException(SerializationInfo info, StreamingContext context)
: base(info, context)
{
}
}
}