Rubeus icon indicating copy to clipboard operation
Rubeus copied to clipboard

General code cleanup

Open Genbox opened this issue 3 years ago • 0 comments

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.

Genbox avatar Apr 28 '22 22:04 Genbox