private async Task <Solution> ChangeNameParameterInAttribute(
            Document document,
            ClassDeclarationSyntax modelDeclarationSyntax,
            CancellationToken cancellationToken)
        {
            var root = await document.GetSyntaxRootAsync(cancellationToken);

            var className = modelDeclarationSyntax.Identifier.ValueText;

            var dataContractAttribute =
                modelDeclarationSyntax.FindAttributeWithName(Constants.Attributes.DataCotnractAttributeName);

            var nameParameter =
                dataContractAttribute.FindAttributeParamterWithName(
                    Constants.Attributes.DataCotnractAttributeNameParameterName);

            var fix =
                CreateFixedAttribute(nameParameter, className);

            return
                (document.WithSyntaxRoot(
                     root.ReplaceNode(nameParameter, fix)).Project.Solution);
        }