Boo.Lang.Compiler.TypeSystem.CallableResolutionService.InferGenericMethods C# (CSharp) Méthode

InferGenericMethods() private méthode

private InferGenericMethods ( ) : void
Résultat 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);
                    }
                }
            }
        }