コード例 #1
0
 public EnumMemberDeclarationSyntax(MemberDeclarationSyntax heading = null)
     : base(heading)
 {
 }
コード例 #2
0
 public MemberDeclarationSyntax(MemberDeclarationSyntax other = null)
 {
     this.WithProperties(other);
 }
コード例 #3
0
 public static ClassDeclarationSyntax Create(MemberDeclarationSyntax heading, ClassDeclarationSyntax classBody) =>
 classBody.IsInterface ? new InterfaceDeclarationSyntax(heading, classBody) :
 new ClassDeclarationSyntax(heading, classBody);