예제 #1
0
 public override VBasic.VisualBasicSyntaxNode VisitXmlEmptyElement(CSSyntax.XmlEmptyElementSyntax node)
 {
     try
     {
         VBSyntax.XmlNodeSyntax Name = (VBSyntax.XmlNodeSyntax)node.Name.Accept(this);
         var ListOfAttributes        = GatherAttributes(node.Attributes);
         return(VBFactory.XmlEmptyElement(Name, ListOfAttributes));
     }
     catch (OperationCanceledException)
     {
         throw;
     }
     catch (Exception)
     {
         return(VBFactory.XmlText(node.GetText().ToString()));
     }
 }