Esempio n. 1
0
 public MemberDeclarationSyntax Build(ConstructorDeclarationSyntax ctor, IParameterTransform transform)
 {
     return(ConstructorDeclaration(ctor.Identifier)
            .WithParameterList(transform.TransformToParameters(ctor.ParameterList))
            .WithBody(ConstructorBody(ctor))
            .WithModifiers(TokenList(new SyntaxToken[] { Token(SyntaxKind.PublicKeyword) })));
 }