Ejemplo n.º 1
0
        internal static bool IsSpreadOperator(this Expression expression)
        {
            Contract.Requires(expression != null);

            var unaryExpression = expression as UnaryExpression;

            return(unaryExpression?.OperatorKind == UnaryOperator.Spread);
        }