public void IndexOperationExpressionProducesIndexOperation2()
        {
            var identifier = new IndexOperationExpression(null, null);
            identifier.OperandLeft = "a";
            identifier.OperandRight = 3;

            Assert.AreEqual("\"a\"[3];", identifier.ToString());
        }
Esempio n. 2
0
        public void IndexOperationExpressionProducesIndexOperation2()
        {
            var identifier = new IndexOperationExpression(null, null);

            identifier.OperandLeft  = "a";
            identifier.OperandRight = 3;

            Assert.AreEqual("\"a\"[3];", identifier.ToString());
        }
Esempio n. 3
0
        public void IndexOperationExpressionProducesIndexOperation()
        {
            var identifier = new IndexOperationExpression("a", 3);

            Assert.AreEqual("\"a\"[3];", identifier.ToString());
        }
        public void IndexOperationExpressionProducesIndexOperation()
        {
            var identifier = new IndexOperationExpression("a", 3);

            Assert.AreEqual("\"a\"[3];", identifier.ToString());
        }