Skip to content
| Marketplace
Sign in
Visual Studio>Tools>KitsuneRoslyn
KitsuneRoslyn

KitsuneRoslyn

Julien Roncaglia

|
609 installs
| (0) | Free
A package of diagnostics and code fixes for refactoring.
Download

A package of diagnostics and code fixes for refactoring.

See the Github page for more information and source code.

The current state of the code is VERY experimental.

Avoid new Guid()

This rule matches calls to new Guid() and the associated code fix suggest to replace it with a call toGuid.Empty.

The rationale is that Guid.Empty is more expressive than the default constructor to represent a GUID with only zeroes inside.

Default level: Warning

Avoid string.Empty

This rule matches calls to string.Empty and the associated code fix suggest to replace it with the equivalent literal"".

The rationale is that there is no real reason for using string.Empty, the potential performance hit is insignificant and it is just a more verbose form of writing"".

Default level: Warning

Avoid string.concat

This rule matches calls to string.Concat that provide strings or objects directly as argument.

The associated code fix suggest to replace it with either a single string if possible or with a call tostring.Format.

Default level: Warning

Avoid string concatenation

This rule matches concatenation of strings using the + operator.

The associated code fix suggest to replace it with either a single string if possible or with a call tostring.Format.

Default level: Hidden

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft