public XmlCommentSyntax(SyntaxKind kind, PunctuationSyntax beginComment, SyntaxNode node, PunctuationSyntax endComment) : base(kind)
 {
     this.BeginComment = beginComment;
     this.Content = node;
     this.EndComment = endComment;
     SlotCount = 3;
 }
 public XmlAttributeSyntax(XmlNameSyntax name, PunctuationSyntax equals, XmlNodeSyntax value)
     : base(SyntaxKind.XmlAttribute)
 {
     this.NameNode = name;
     this.Equals = equals;
     this.ValueNode = value;
     SlotCount = 3;
 }
示例#3
0
 public XmlCommentSyntax(SyntaxKind kind, PunctuationSyntax beginComment, SyntaxNode node, PunctuationSyntax endComment) : base(kind)
 {
     this.BeginComment = beginComment;
     this.Content      = node;
     this.EndComment   = endComment;
     SlotCount         = 3;
 }