Skip to content

Add MetadataAsSource test for records#59736

Merged
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
Youssef1313:record-mas-44566
Feb 28, 2022
Merged

Add MetadataAsSource test for records#59736
CyrusNajmabadi merged 1 commit intodotnet:mainfrom
Youssef1313:record-mas-44566

Conversation

@Youssef1313
Copy link
Member

Closes #44566

@Youssef1313 Youssef1313 requested a review from a team as a code owner February 24, 2022 11:48
@ghost ghost added Community The pull request was submitted by a contributor who is not a Microsoft employee. Area-IDE labels Feb 24, 2022
Comment on lines +470 to +471
[CompilerGenerated]
protected R(R original);
Copy link
Member Author

@Youssef1313 Youssef1313 Feb 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it expected to show up given the declaration is already "record"? This applies to other members as well

using System.Runtime.CompilerServices;
using System.Text;

public record [|R|]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this show : IEquatable<R>?

@CyrusNajmabadi CyrusNajmabadi merged commit acbed5f into dotnet:main Feb 28, 2022
@ghost ghost modified the milestones: 17.3, Next Feb 28, 2022
@RikkiGibson RikkiGibson modified the milestones: Next, 17.2.P2 Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. Feature Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MetadataAsSource: should record types be displayed as records?

4 participants