コード例 #1
0
        public static IMethod FindMethod(this BinaryOperator op, IType left, IType right)
        {
            string name = op.GetMethodName();
            var    set  = left.Methods.Find(name);

            return(set.FirstOrDefault(m => m.IsBinaryOperator(op, left, right)));
        }