public InferMethodGenericArguments ( IMethod method, Boo.Lang.Compiler.Ast.ExpressionCollection arguments ) : IType[] | ||
method | IMethod | |
arguments | Boo.Lang.Compiler.Ast.ExpressionCollection | |
return | IType[] |
public IType[] InferMethodGenericArguments(IMethod method, ExpressionCollection arguments)
{
if (method.GenericInfo == null) return null;
GenericParameterInferrer inferrerr = new GenericParameterInferrer(Context, method, arguments);
if (inferrerr.Run())
{
return inferrerr.GetInferredTypes();
}
return null;
}