Class MissingMethodException
Indicates that requested method doesn't exist.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public sealed class MissingMethodException : ConstraintViolationException
Constructors
| Improve this Doc View SourceMissingMethodException(Type, String, Type, Type[])
Initializes a new exception indicating that requested method doesn't exist.
Declaration
public MissingMethodException(Type declaringType, string methodName, Type returnType, params Type[] parameters)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | declaringType | The inspected type. |
| String | methodName | The name of the method. |
| Type | returnType | The return type of the missing method. |
| Type[] | parameters | The parameters of the missing method. |
Properties
| Improve this Doc View SourceMethodName
Gets name of missing method.
Declaration
public string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| String |
Parameters
Gets parameters of missing method.
Declaration
public IReadOnlyList<Type> Parameters { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Type> |
ReturnType
Gets return type of missing method.
Declaration
public Type ReturnType { get; }
Property Value
| Type | Description |
|---|---|
| Type |