예제 #1
0
 protected XNode Visit(CSharpSubpattern node)
 {
     return(node switch
     {
         PositionalCSharpSubpattern p => Visit(p),
         PropertyCSharpSubpattern p => Visit(p),
         _ => throw ContractUtils.Unreachable,
     });
예제 #2
0
 public XNode GetDebugView(CSharpSubpattern node)
 {
     return(Visit(node));
 }