dotnet-svcutil generated C# type names are missing @
prefix when name is C# keyword too
#5488
Labels
enhancement
Not a bug and not a new API, just a product improvement.
Describe the bug
When WSDL contains complex type named
file
the dotnet-svcutil generatespublic partial class file { ...
, which won't compile as thefile
is C# keyword.To Reproduce
WSDL example for dotnet-svcutil tool with complex type named
file
:Expected behavior
Any
dotnet-svcutil
generated C# type/class name which conflicts with C# keyword should prefixed with@
.In case of provided WSDL it should correctly be
public partial class **@**file { ...
.The text was updated successfully, but these errors were encountered: