-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C# Source Modernization initiative #430
Conversation
e19f66d
to
57f70d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 Tested in-game, no issues.
Since we are reviewing this PR would be nice to change it's state to 'Ready for review' 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
I have addressed and responded to all notes except the multiline comments
NOTE
This PR does not add, modify or remove features. This PR features code formatting, logging and quality of life changes to the developer experience.
Changes
This PR only includes files from
CSUtil.Commons
andTLM/Custom
For every file in TLM:
var
becomes explicit type (solves Enforce stating explicit types #436, debatable)var Xxx
used inout Xxx
args, are inlined intoout var Xxx
(latest C#)[UsedImplicitly]
to get rid of the warning#if DEBUG if (condition) Log._Debug #endif
changed to something shorter (solves Improve code readability by simplifying debug logging #349)