示例#1
0
 public void InvalidSyntaxCheck()
 {
     Assert.Throws <ExpressionsException>(() =>
     {
         DynamicExpression.CheckSyntax("?", ExpressionLanguage.Csharp);
     });
 }
示例#2
0
 public void InvalidSyntaxCheck()
 {
     DynamicExpression.CheckSyntax(
         "?", ExpressionLanguage.Csharp
         );
 }
示例#3
0
 public void InvalidSyntaxCheck()
 {
     DynamicExpression.CheckSyntax(
         "?", ExpressionLanguage.VisualBasic
         );
 }
示例#4
0
 public void ValidSyntaxCheck()
 {
     DynamicExpression.CheckSyntax(
         "1", ExpressionLanguage.Flee
         );
 }