public override SyntaxNode VisitPropertyDeclaration(PropertyDeclarationSyntax propertySyntax) { var leadingTrivia = propertySyntax.Identifier.LeadingTrivia; var trailingTriva = propertySyntax.Identifier.TrailingTrivia; return propertySyntax.ReplaceToken(propertySyntax.Identifier, SyntaxFactory.Identifier(leadingTrivia, ToCamelCase(propertySyntax.Identifier.ValueText), trailingTriva) ); }