[2122]Generate Equality members failed in VB

I tried to implement Equals() and GetHashCode() via R#'s "Generate Equality Members". Everything works fine except when i check "Implement IEquatable<T> interface" the Implements statement is generated but none of the generated methods implement the interface. Following code is generated:

GenerateEquality_1.jpg


Beneath the missing interface implementation, as you can see in the screenshot, the generated code mixes leading tabs and leading spaces. This is a general problem in code generation (and code cleanup) since Release 4.x.

Regards
Klaus

2 comments

Hello Klaus,

Thank you for reporting this problem! I can confirm that this is a bug and
I've logged it under http://youtrack.jetbrains.net/issue/RSRP-248203.

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I tried to implement Equals() and GetHashCode() via R#'s "Generate
Equality Members". Everything works fine except when i check
"Implement IEquatable<T> interface" the Implements statement is
generated but none of the generated methods implement the interface.
Following code is generated:

Image:GenerateEquality_1.jpg

Beneath the missing interface implementation, as you can see in the
screenshot, the generated code mixes leading tabs and leading spaces.
This is a general problem in code generation (and code cleanup) since
Release 4.x.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5299355#5299355



0

Hello Klaus,

Thank you for reporting this problem! I can confirm that this is a bug and
I've logged it under http://youtrack.jetbrains.net/issue/RSRP-248203.

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I tried to implement Equals() and GetHashCode() via R#'s "Generate
Equality Members". Everything works fine except when i check
"Implement IEquatable<T> interface" the Implements statement is
generated but none of the generated methods implement the interface.
Following code is generated:

Image:GenerateEquality_1.jpg

Beneath the missing interface implementation, as you can see in the
screenshot, the generated code mixes leading tabs and leading spaces.
This is a general problem in code generation (and code cleanup) since
Release 4.x.

Regards
Klaus
---
Original message URL:
http://devnet.jetbrains.net/message/5299355#5299355



0

Please sign in to leave a comment.