C# Класс ICSharpCode.NRefactory.CSharp.Resolver.OverloadResolution.Candidate

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
ArgumentConversions Conversion[]
ArgumentToParameterMap int[]
ErrorCount int
Errors OverloadResolutionErrors
HasUnmappedOptionalParameters bool
InferredTypes IType[]
IsExpandedForm bool
Member IParameterizedMember
ParameterTypes IType[]
Parameters IList
TypeParameters IList

Открытые методы

Метод Описание
AddError ( OverloadResolutionErrors newError ) : void
Candidate ( IParameterizedMember member, bool isExpanded ) : System

Описание методов

AddError() публичный Метод

public AddError ( OverloadResolutionErrors newError ) : void
newError OverloadResolutionErrors
Результат void

Candidate() публичный Метод

public Candidate ( IParameterizedMember member, bool isExpanded ) : System
member IParameterizedMember
isExpanded bool
Результат System

Описание свойств

ArgumentConversions публичное свойство

Conversions applied to the arguments. This field is set by the CheckApplicability step.
public Conversion[] ArgumentConversions
Результат Conversion[]

ArgumentToParameterMap публичное свойство

argument index -> parameter index; -1 for arguments that could not be mapped
public int[] ArgumentToParameterMap
Результат int[]

ErrorCount публичное свойство

public int ErrorCount
Результат int

Errors публичное свойство

public OverloadResolutionErrors Errors
Результат OverloadResolutionErrors

HasUnmappedOptionalParameters публичное свойство

public bool HasUnmappedOptionalParameters
Результат bool

InferredTypes публичное свойство

public IType[] InferredTypes
Результат IType[]

IsExpandedForm публичное свойство

Returns the normal form candidate, if this is an expanded candidate.
public bool IsExpandedForm
Результат bool

Member публичное свойство

public IParameterizedMember Member
Результат IParameterizedMember

ParameterTypes публичное свойство

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
Результат IType[]

Parameters публичное свойство

Gets the original member parameters (before any substitution!)
public IList Parameters
Результат IList

TypeParameters публичное свойство

Gets the original method type parameters (before any substitution!)
public IList TypeParameters
Результат IList