Skip to content

Get rid of ToLower() metadata field value checks where possible #2

Description

@arsinclair

Always doing ToLower has performance implications. Instead either a convention should be followed (always lowercase or always camelcase), or case-insensetive comparison should be used

String.Compare(null, "some StrinG", StringComparison.InvariantCultureIgnoreCase);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions