public ClassNestedSealedClassWithCodeAnalysis(
     ClassMemberVisibilityModifier visibility,
     string name)
     : this()
 {
     Syntax = ClassDeclarationSyntaxExtensions.ToSyntax(name, visibility, SyntaxKind.SealedKeyword);
 }
 public StructNestedClassWithCodeAnalysis(
     StructMemberVisibilityModifier visibility,
     string name)
     : this()
 {
     Syntax = ClassDeclarationSyntaxExtensions.ToSyntax(name, visibility);
 }
 public ClassWithCodeAnalysis(
     DocumentWithCodeAnalysis document,
     TypeVisibilityModifier visibility,
     string name)
     : this(document)
 {
     Syntax = ClassDeclarationSyntaxExtensions.ToSyntax(name, visibility);
 }