// Copyright (c) 2010 AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under MIT X11 license (for details please see \doc\license.txt)
using System;
namespace ICSharpCode.NRefactory.CSharp.Resolver
{
[Flags]
public enum OverloadResolutionErrors
{
None = 0,
///
/// Too many positional arguments (some could not be mapped to any parameter).
///
TooManyPositionalArguments = 0x0002,
///
/// A named argument could not be mapped to any parameter
///
NoParameterFoundForNamedArgument = 0x0004,
///
/// No argument was mapped to a non-optional parameter
///
MissingArgumentForRequiredParameter = 0x0008,
///
/// Several arguments were mapped to a single (non-params-array) parameter
///
MultipleArgumentsForSingleParameter = 0x0010,
///
/// 'ref'/'out' passing mode doesn't match for at least 1 parameter
///
ParameterPassingModeMismatch = 0x0020,
///
/// Argument type cannot be converted to parameter type
///
ArgumentTypeMismatch = 0x0040,
///
/// There is no unique best overload
///
AmbiguousMatch = 0x0080
}
}