예제 #1
0
 public void LiftQualifiedNameString()
 {
     AstAssert.Matches(
         new MemberReferenceExpression(
             new ReferenceExpression("Foo"),
             "Bar"),
         ReferenceExpression.Lift("Foo.Bar"));
 }
 private static void AssertIsXmlSerializable(Node node)
 {
     AstAssert.Matches(node, XmlRoundtripOf(node));
 }
예제 #3
0
 public void LiftSimpleNameString()
 {
     AstAssert.Matches(
         new ReferenceExpression("Foo"),
         ReferenceExpression.Lift("Foo"));
 }