Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CA1872: Prefer 'Convert.ToHexString' over 'BitConverter.ToString' #6967

Merged
merged 13 commits into from
Mar 19, 2024

Commits on Sep 30, 2023

  1. Add CA1872: Prefer 'Convert.ToHexString' over 'BitConverter.ToString'

    This analyzer detects the usage of the pattern
    `BitConverter.ToString(bytes).Replace("-", "")` to convert an array of
    bytes to an uppercase hex string (without hyphens in between) and
    replaces it with a call to `Convert.ToHexString(bytes)`.
    The analyzer will also try to preserve chaining `ToLower*` in between
    for a lowercase hex string.
    mpidash committed Sep 30, 2023
    Configuration menu
    Copy the full SHA
    b4b21d8 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    f19dd74 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    1e97ba6 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    5e3b6aa View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    6db3a84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0efec42 View commit details
    Browse the repository at this point in the history
  3. Improve resource strings

    mpidash committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    0857495 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ed2c948 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2024

  1. Configuration menu
    Copy the full SHA
    309d4ea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0311073 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fe1ca9a View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. Configuration menu
    Copy the full SHA
    9429853 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3fee4a View commit details
    Browse the repository at this point in the history