Skip to content

Improve String.IsNullOrEmpty detection #30

@marodev

Description

@marodev

The following pattern is not detected:

 if (forwardedEvent.ComputerName == null || forwardedEvent.ComputerName.Length == 0)

should be fixed like

String.IsNullOrEmpty(forwardedEvent.ComputerName)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions