示例#1
0
		public void TestParseExpressionBug()
		{
			var s = "global::Thing<int>.Done<string>";
			var expr = new CSharpParser().ParseExpression(s);

			Assert.AreEqual(s, expr.ToString());
		}
示例#2
0
		public void TestParseTypeReferenceBug()
		{
			var s = "global::Thing<int>.Done<string>";
			var type = new CSharpParser().ParseTypeReference(s);

			Assert.AreEqual(s, type.ToString());
		}