Boo.Lang.Compiler.TypeSystem.CallableResolutionService.InferGenericMethods C# (CSharp) Method

InferGenericMethods() private method

private InferGenericMethods ( ) : void
return void
        private void InferGenericMethods()
        {
            foreach (Candidate candidate in _candidates)
            {
                if (candidate.Method.GenericInfo != null)
                {
                    IType[] inferredTypeParameters =
                        TypeSystemServices.GenericsServices.InferMethodGenericArguments(candidate.Method, _arguments);

                    if (inferredTypeParameters != null)
                    {
                        candidate.Method = candidate.Method.GenericInfo.ConstructMethod(inferredTypeParameters);
                    }
                }
            }
        }