Skip to content

Reduce code duplication across core assemblies #36721

@marek-safar

Description

@marek-safar

Sharing implementation via code duplication does not benefit size sensitive workloads and it would be great if it could be reduced from the current levels.

As an example, we can use https://github.com/dotnet/runtime/blob/master/src/libraries/Common/src/System/Text/ValueStringBuilder.cs which is compiled into 10 different assemblies while also being included inside System.Private.CoreLib assembly.

We could start with cleaning up duplicate code for cases which are compiled into System.Private.CoreLib as that assembly can be considered to be the common base for everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Metasize-reductionIssues impacting final app size primary for size sensitive workloads

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions