public override SyntaxNode VisitXmlPortTableElement(XmlPortTableElementSyntax node)
 {
     if ((this.NodeInSpan(node)) && (node.Triggers != null) && (node.Triggers.Count > 0) && (!node.ContainsDiagnostics))
     {
         node = node.WithTriggers(this.Sort(node.Triggers));
     }
     return(base.VisitXmlPortTableElement(node));
 }
Ejemplo n.º 2
0
 protected void ProcessXmlPortTableElementNode(SyntaxTree syntaxTree, ALSymbolInformation symbol, XmlPortTableElementSyntax syntax)
 {
     symbol.fullName = symbol.kind.ToName() + " " +
                       ALSyntaxHelper.EncodeName(symbol.name) +
                       ": Record " + syntax.SourceTable.ToFullString();
     symbol.source = ALSyntaxHelper.DecodeName(syntax.SourceTable.ToFullString());
     this.ProcessNodeContentRange(syntaxTree, symbol, syntax, syntax.OpenBraceToken, syntax.CloseBraceToken);
 }