Rubeus
Rubeus copied to clipboard
General code cleanup
Just a general code cleanup. Better readability and fewer allocations.
- Removed redundant usings and qualifiers
- Use string interpolation instead of string.Format(). Better readability an reduces allocations as it uses StringBuilderPool.
- A little fix for Linux portability specifically due to IndexOf using cultureaware comparisons.
- Removed a bunch of redundant return statements
- Retarget the project to a supported .NET Framework version. 4.0 went out of support in 2016, 4.6.x went out of support a week ago.