C# Class ICSharpCode.NRefactory.CSharp.Resolver.OverloadResolution.Candidate

Afficher le fichier Open project: 0xd4d/NRefactory

Méthodes publiques

Свойство Type Description
ArgumentConversions Conversion[]
ArgumentToParameterMap int[]
ErrorCount int
Errors OverloadResolutionErrors
HasUnmappedOptionalParameters bool
InferredTypes IType[]
IsExpandedForm bool
Member IParameterizedMember
ParameterTypes IType[]
Parameters IList
TypeParameters IList

Méthodes publiques

Méthode Description
AddError ( OverloadResolutionErrors newError ) : void
Candidate ( IParameterizedMember member, bool isExpanded ) : System

Method Details

AddError() public méthode

public AddError ( OverloadResolutionErrors newError ) : void
newError OverloadResolutionErrors
Résultat void

Candidate() public méthode

public Candidate ( IParameterizedMember member, bool isExpanded ) : System
member IParameterizedMember
isExpanded bool
Résultat System

Property Details

ArgumentConversions public_oe property

Conversions applied to the arguments. This field is set by the CheckApplicability step.
public Conversion[] ArgumentConversions
Résultat Conversion[]

ArgumentToParameterMap public_oe property

argument index -> parameter index; -1 for arguments that could not be mapped
public int[] ArgumentToParameterMap
Résultat int[]

ErrorCount public_oe property

public int ErrorCount
Résultat int

Errors public_oe property

public OverloadResolutionErrors Errors
Résultat OverloadResolutionErrors

HasUnmappedOptionalParameters public_oe property

public bool HasUnmappedOptionalParameters
Résultat bool

InferredTypes public_oe property

public IType[] InferredTypes
Résultat IType[]

IsExpandedForm public_oe property

Returns the normal form candidate, if this is an expanded candidate.
public bool IsExpandedForm
Résultat bool

Member public_oe property

public IParameterizedMember Member
Résultat IParameterizedMember

ParameterTypes public_oe property

Gets the parameter types. In the first step, these are the types without any substition. After type inference, substitutions will be performed.
public IType[] ParameterTypes
Résultat IType[]

Parameters public_oe property

Gets the original member parameters (before any substitution!)
public IList Parameters
Résultat IList

TypeParameters public_oe property

Gets the original method type parameters (before any substitution!)
public IList TypeParameters
Résultat IList