MacroCompilerResolveAmbiguousMatch 委托 | |
This delegate is used to decide between 2 ambigous methods, functions or constructors
命名空间:
XSharp
程序集:
XSharp.Core (在 XSharp.Core.dll 中) 版本:2.22 GA
语法 DELEGATE LONG MacroCompilerResolveAmbiguousMatch(
m1 AS MemberInfo,
m2 AS MemberInfo,
args AS Type[]
)
public delegate int MacroCompilerResolveAmbiguousMatch(
MemberInfo m1,
MemberInfo m2,
Type[] args
)
参数
- m1
- 类型:MemberInfo
MethodInfo of the first symbol - m2
- 类型:MemberInfo
MethodInfo of the second symbol - args
- 类型:Type
The types of the arguments that were passed to the method call
返回值
类型:
Int32The delegate should return 1 when it wants to use the first symbol and 2 when it wants to use the second symbol or 0 when it does not want to use either symbol
参见