Click or drag to resize

ResolverFindBetterConversion Method (TypeRefBase, TypeRefBase, TypeRefBase)

Find the better conversion of a type to two candidate types. [C# 4.0 section 7.5.3.4] Returns 1 if the conversion to typeRefBase1 is better, 2 if the conversion to typeRefBase2 is better, 0 if neither is better.

Namespace:  Nova.Resolving
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
protected static int FindBetterConversion(
	TypeRefBase typeRefBase,
	TypeRefBase typeRefBase1,
	TypeRefBase typeRefBase2
)

Parameters

typeRefBase
Type: Nova.CodeDOMTypeRefBase
typeRefBase1
Type: Nova.CodeDOMTypeRefBase
typeRefBase2
Type: Nova.CodeDOMTypeRefBase

Return Value

Type: Int32
See Also