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

Bump Microsoft.CodeAnalysis.NetAnalyzers from 5.0.3 to 7.0.0 in /lang/csharp #370

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Dec 11, 2022

Bumps Microsoft.CodeAnalysis.NetAnalyzers from 5.0.3 to 7.0.0.

Release notes

Sourced from Microsoft.CodeAnalysis.NetAnalyzers's releases.

NetAnalyzers 7.0.0

Release build of Microsoft.CodeAnalysis.NetAnalyzers containing first-party code quality analyzers ("CAxxxx rules").

Added

  • Globalization
    • CA1311: Specify a culture or use an invariant version -- Enabled by default
  • Interoperability
    • CA1420: Property, type, or attribute requires runtime marshalling -- Enabled by default
    • CA1421: This method uses runtime marshalling even when the 'DisableRuntimeMarshallingAttribute' is applied -- Enabled by default
    • CA1422: Validate platform compatibility -- Enabled by default
  • Performance
    • CA1850: Prefer static 'HashData' method over 'ComputeHash' -- Enabled by default
    • CA1851: Possible multiple enumerations of 'IEnumerable' collection
    • CA1852: Seal internal types -- Enabled by default
    • CA1853: Unnecessary call to 'Dictionary.ContainsKey(key)' -- Enabled by default
    • CA1854: Prefer the 'IDictionary.TryGetValue(TKey, out TValue)' method -- Enabled by default
    • CA1855: Prefer 'Clear' over 'Fill' -- Enabled by default
  • Reliability
    • CA2019: Improper 'ThreadStatic' field initialization -- Enabled by default
    • CA2020: Prevent from behavioral change -- Enabled by default
  • Usage
    • CA2259: 'ThreadStatic' only affects static fields -- Enabled by default
    • CA2260: Use correct type parameter -- Enabled by default

NetAnalyzers 6.0.0

Release build of Microsoft.CodeAnalysis.NetAnalyzers containing first-party code quality analyzers ("CAxxxx rules").

Added

  • Interoperability
    • CA1418: Use valid platform string -- Enabled by default
    • CA1419: Provide a parameterless constructor that is as visible as the containing type for concrete types derived from 'System.Runtime.InteropServices.SafeHandle' -- Enabled by default
  • Naming
    • CA1727: Use PascalCase for named placeholders -- Enabled by default
  • Performance
    • CA1839: Use 'Environment.ProcessPath' -- Enabled by default
    • CA1840: Use 'Environment.CurrentManagedThreadId' -- Enabled by default
    • CA1841: Prefer Dictionary.Contains methods -- Enabled by default
    • CA1842: Do not use 'WhenAll' with a single task -- Enabled by default
    • CA1843: Do not use 'WaitAll' with a single task -- Enabled by default
    • CA1844: Provide memory-based overrides of async methods when subclassing 'Stream' -- Enabled by default
    • CA1845: Use span-based 'string.Concat' -- Enabled by default
    • CA1846: Prefer 'AsSpan' over 'Substring' -- Enabled by default
    • CA1847: Use char literal for a single character lookup -- Enabled by default
    • CA1848: Use the LoggerMessage delegates -- Enabled by default
    • CA1849: Call async methods when in an async method
  • Reliability
    • CA2017: Parameter count mismatch -- Enabled by default
    • CA2018: 'Buffer.BlockCopy' expects the number of bytes to be copied for the 'count' argument -- Enabled by default
  • Security
    • CA5404: Do not disable token validation checks

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Microsoft.CodeAnalysis.NetAnalyzers](https://github.com/dotnet/roslyn-analyzers) from 5.0.3 to 7.0.0.
- [Release notes](https://github.com/dotnet/roslyn-analyzers/releases)
- [Changelog](https://github.com/dotnet/roslyn-analyzers/blob/main/PostReleaseActivities.md)
- [Commits](dotnet/roslyn-analyzers@5.0.3...7.0.0)

---
updated-dependencies:
- dependency-name: Microsoft.CodeAnalysis.NetAnalyzers
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file .NET Pull requests that update .net code
Projects
None yet
0 participants