Generating IEqualityComparer under VS 2017

When I try to generate the IEqualityComparer implementation for a c# class using Resharper under VS2017, it doesn't recognize the class fields (which are all strings in this case). As a result, it only generates the default NotImplementedException based code...which isn't terribly helpful.

Is this something that's not yet implemented under VS 2017? If so, when will it be?

Here's the class:

public class DocRazorParameter
{
    public string Name { get; set; }
    public string Type { get; set; }
    public string Description { get; set; }
}

This is under NetCore, in case that matters.

1 comment
Comment actions Permalink

Sigh. My mistake; I was confusing IEquatable and IEqualityComparer. Please ignore.

0

Please sign in to leave a comment.