public void isConstantLiteralNumbers()
        {
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1.0"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral(".234"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("0x123"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("123L"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1.2d"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1d"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1.2f"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("1f"));

            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1.0"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-.234"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-123L"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1.2d"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1d"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1.2f"));
            Assert.IsTrue(ConsistencyUtil.isConstantLiteral("-1f"));
        }
 public void isConstantLiteralEnum()
 {
     Assert.IsTrue(ConsistencyUtil.isConstantLiteral("EnumConstant"));
     Assert.IsTrue(ConsistencyUtil.isConstantLiteral("EnumName.EnumConstant"));
 }
 public void isConstantLiteralStrings()
 {
     Assert.IsTrue(ConsistencyUtil.isConstantLiteral("'A'"));
     Assert.IsTrue(ConsistencyUtil.isConstantLiteral("\"abc\""));
     Assert.IsTrue(ConsistencyUtil.isConstantLiteral("\"\\\"abc\\\"\""));
 }