Skip to content

Conversation

@pkulikov
Copy link
Contributor

@pkulikov pkulikov commented Dec 13, 2018

Supports dotnet/docs#9596

// <SnippetReferenceTypesEquality>
public class ReferenceTypesEquality
{
public class MyClass
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The main idea of this snippet is to show that a reference type supports the == operator by default.

Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

These LGTM @pkulikov

I'll :shipit: this PR, and rebuild the associated article while reviewing it.

@BillWagner BillWagner merged commit eaf6009 into dotnet:master Dec 14, 2018
@pkulikov pkulikov deleted the equality-snippets branch December 14, 2018 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants