Regenerate the .cs files from the current .x files in the repo, and run dotnet-format.
Why
When I follow this process with the latest xdrgen available here it results in diffs adding the using System; to the beginning of all files. According to @elucidsoft in https://github.com/elucidsoft/dotnet-stellar-sdk/issues/302#issuecomment-764820020 the using System; should be kept. It might have been lost in the past, or maybe somebodies IDE removed them automatically.
Making this change keeps the .cs files generated from the .x files consistent with what xdrgen (along with a dotnet-format) generates which makes it easier for others to regenerate the .cs files, since there are not extra diffs.
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
What
Regenerate the .cs files from the current .x files in the repo, and run dotnet-format.
Why
When I follow this process with the latest xdrgen available here it results in diffs adding the
using System;
to the beginning of all files. According to @elucidsoft in https://github.com/elucidsoft/dotnet-stellar-sdk/issues/302#issuecomment-764820020 theusing System;
should be kept. It might have been lost in the past, or maybe somebodies IDE removed them automatically.Making this change keeps the .cs files generated from the .x files consistent with what xdrgen (along with a dotnet-format) generates which makes it easier for others to regenerate the .cs files, since there are not extra diffs.
Types of changes