public QualifiedNameSyntax ConsumeQualifiedName(NameSyntax left) { var period = ConsumeToken(); var id2 = new IdentifierNameSyntax(ConsumeToken()); var qual = new QualifiedNameSyntax(left, period, id2); if (AtDot()) { return ConsumeQualifiedName(qual); } return qual; }
public static QualifiedNameSyntax QualifiedName(NameSyntax left, SyntaxToken dotToken, SimpleNameSyntax right) { return new QualifiedNameSyntax (left, dotToken, right); }