cecil icon indicating copy to clipboard operation
cecil copied to clipboard

Expose XxxReference comparisons

Open atykhyy opened this issue 7 years ago • 3 comments

Re issue #389.

atykhyy avatar May 05 '17 07:05 atykhyy

what's holding this one back from merging @jbevain ?

AnakinRaW avatar Feb 03 '21 15:02 AnakinRaW

@AnakinSklavenwalker comparing metadata elements is tricky, and not everybody will want to do exactly the same thing, I'm not very excited about providing a public API that would become the source of truth for is a TypeReference equal to another TypeReference.

jbevain avatar Feb 11 '21 23:02 jbevain

fair enough. Would you be OK having the comparer into the Rocks project. This way it can be documented that this might not be a 100% correct implementation, (according to the ECMA spec) but it works for most cases. Since I need such a comparer for my project anyway, i could create a new PR which re-implements the feature and puts it into Rocks.

AnakinRaW avatar Feb 15 '21 09:02 AnakinRaW