示例#1
0
 public static bool Matches(Block lhs, Block rhs)
 {
     return(lhs == null ? rhs == null || rhs.IsEmpty : lhs.Matches(rhs));
 }
示例#2
0
 public static bool Matches(Block lhs, Block rhs)
 {
     return(lhs == null ? rhs == null || !rhs.HasStatements : lhs.Matches(rhs));
 }