mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
Fixes #5500, uncompilable code when a .thirft struct named 'System' is present
This commit is contained in:
parent
7a6829531f
commit
fa5c37ab5f
@ -1794,7 +1794,7 @@ void t_netstd_generator::generate_netstd_struct_equals(ostream& out, t_struct* t
|
||||
}
|
||||
else
|
||||
{
|
||||
out << "System.Object.Equals(";
|
||||
out << "global::System.Object.Equals(";
|
||||
}
|
||||
out << prop_name((*f_iter)) << ", other." << prop_name((*f_iter)) << ")";
|
||||
if (!field_is_required((*f_iter)))
|
||||
|
Loading…
Reference in New Issue
Block a user