This pull request implemented a TypeComparer for Pass80UnstripMethods::GetOrCreateProperty() to resolve the error of Sequence contains more than one matching element.
The original logic only compares the property name and parameters count.
There are cases where two properties of the same name and the same number of parameters count, but differ between the parameter type.
Such as in the case of the below screenshot:
This pull request implemented a
TypeComparer
forPass80UnstripMethods::GetOrCreateProperty()
to resolve the error ofSequence contains more than one matching element
. The original logic only compares the property name and parameters count. There are cases where two properties of the same name and the same number of parameters count, but differ between the parameter type. Such as in the case of the below screenshot: