메소드 | 설명 | |
---|---|---|
CanBeOverride ( |
Determines whether method can override basemethod.
|
|
OverrideCost ( |
Calculates override cost, i.e. whether the override is possible and its value. In case of more possible overrides, the one with better cost is selected.
|
|
ResolveOverride ( this method ) : |
Resolves best method to be overriden.
|
|
SignaturesMatch ( this a, |
Checks whether signatures of two methods match exactly so one can override the second.
|
메소드 | 설명 | |
---|---|---|
EnumerateOverridableTypes ( |
Enumerates base types and interfaces of given type (i.e. types that can contain methods that can be overriden).
|
|
IsAllowedCost ( ConversionCost cost ) : bool |
public static CanBeOverride ( |
||
method | Source method. | |
basemethod | Overriden method. | |
리턴 | bool |
public static OverrideCost ( |
||
method | Source method. | |
basemethod | A hypothetical base method. | |
리턴 | ConversionCost |
public static ResolveOverride ( this method ) : |
||
method | this | The override. |
리턴 |
public static SignaturesMatch ( this a, |
||
a | this | |
b | ||
리턴 | bool |