Ejemplo n.º 1
0
        public static IMethod FindMethod(this UnaryOperator op, IType type)
        {
            string name = op.GetMethodName();
            var    ops  = type.Methods.Find(name);

            return(ops.FirstOrDefault(m => IsUnaryOperator(m, type)));
        }