Boo.Lang.Compiler.TypeSystem.GenericParameterInferrer.FixAll C# (CSharp) Method

FixAll() private method

private FixAll ( Predicate predicate ) : bool
predicate Predicate
return bool
        private bool FixAll(Predicate<InferredType> predicate)
        {
            bool wasFixed = false;
            foreach (KeyValuePair<IGenericParameter, InferredType> kvp in _inferredTypes)
            {
                IGenericParameter gp = kvp.Key;
                InferredType inferredType = kvp.Value;

                if (!inferredType.Fixed && predicate(inferredType))
                {
                    wasFixed |= Fix(gp, inferredType);
                }
            }
            return wasFixed;
        }