Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.15.0
-
None
-
Visual Studio 2022
.netstandard-2.0 Project
Description
If you have an struct in your .thrift definition with the name 'System', the thrift compile generates uncompilable code for the Equals() method. As the namespace 'System' gets interpreted as class. It could be fixed with prefixing theĀ System.Object.Equals() calls with 'global::' as it is done nearly everywhere else where non simple types are used.
The following compiles:
Yes I also think naming a struct 'System' is not a good idea, but here we are
Attachments
Attachments
Issue Links
- links to