mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* TargetInvocationException.cs: Added the missing constructors. svn path=/trunk/mcs/; revision=3776
39 lines
810 B
C#
39 lines
810 B
C#
//
|
|
// System.Reflection.TargetParameterCountException.cs
|
|
//
|
|
// Author: Duncan Mak ([email protected])
|
|
//
|
|
// (C) Ximian, Inc. http://www.ximian.com
|
|
//
|
|
|
|
using System.Runtime.Serialization;
|
|
using System.Globalization;
|
|
|
|
namespace System.Reflection
|
|
{
|
|
[Serializable]
|
|
public sealed class TargetParameterCountException : ApplicationException
|
|
{
|
|
public TargetParameterCountException ()
|
|
: base (Locale.GetText ("Number of parameter does not match expected count."))
|
|
{
|
|
}
|
|
|
|
public TargetParameterCountException (string message)
|
|
: base (message)
|
|
{
|
|
}
|
|
|
|
public TargetParameterCountException (string message, Exception inner)
|
|
: base (message, inner)
|
|
{
|
|
}
|
|
|
|
internal TargetParameterCountException (SerializationInfo info,
|
|
StreamingContext context)
|
|
: base (info, context)
|
|
{
|
|
}
|
|
}
|
|
}
|