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