Skip to content

Record's PrintMembers method should avoid boxing values  #47092

@jcouv

Description

@jcouv

From LDM 8/24/2020:

// o should PrintMembers call ToString() on values to avoid boxing them in builder.Append((object)value)?
// Decision: let's do it
Currently: builder.Append((object)this.P1);
Proposed: builder.Append(this.P1.ToString());

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions