Table of Contents

Enum OverloadResolutionErrors

Namespace
ICSharpCode.Decompiler.CSharp.Resolver
Assembly
ICSharpCode.Decompiler.dll
[Flags]
public enum OverloadResolutionErrors

Fields

AmbiguousMatch = 512

There is no unique best overload. This error does not apply to any single candidate, but only to the overall result of overload resolution.

ArgumentTypeMismatch = 256

Argument type cannot be converted to parameter type

ConstructedTypeDoesNotSatisfyConstraint = 16

After substituting type parameters with the inferred types; a constructed type within the formal parameters does not satisfy its constraint.

Inaccessible = 1024

The member is not accessible.

MethodConstraintsNotSatisfied = 2048

A generic method

MissingArgumentForRequiredParameter = 32

No argument was mapped to a non-optional parameter

MultipleArgumentsForSingleParameter = 64

Several arguments were mapped to a single (non-params-array) parameter

NoParameterFoundForNamedArgument = 2

A named argument could not be mapped to any parameter

None = 0
OutVarTypeMismatch = 4096

Using 'out var' instead of 'out T' would result in loss of type information.

ParameterPassingModeMismatch = 128

'ref'/'out' passing mode doesn't match for at least 1 parameter

TooManyPositionalArguments = 1

Too many positional arguments (some could not be mapped to any parameter).

TypeInferenceFailed = 4

Type inference failed for a generic method.

WrongNumberOfTypeArguments = 8

Type arguments were explicitly specified, but did not match the number of type parameters.