static bool IsComparisonOperator(IMethod m) { var type = OperatorDeclaration.GetOperatorType(m.Name); return type.HasValue && type.Value.IsComparisonOperator(); }