Пример #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);