CA1713: Events should not have 'Before' or 'After' prefix -- Enabled by default
Performance
CA1805: Do not initialize unnecessarily -- Enabled by default
CA1830: Prefer strongly-typed Append and Insert method overloads on StringBuilder. -- Enabled by default
CA1831: Use AsSpan or AsMemory instead of Range-based indexers when appropriate -- Enabled by default
CA1832: Use AsSpan or AsMemory instead of Range-based indexers when appropriate -- Enabled by default
CA1833: Use AsSpan or AsMemory instead of Range-based indexers when appropriate -- Enabled by default
CA1834: Consider using 'StringBuilder.Append(char)' when applicable. -- Enabled by default
CA1835: Prefer the 'Memory'-based overloads for 'ReadAsync' and 'WriteAsync' -- Enabled by default
CA1836: Prefer IsEmpty over Count -- Enabled by default
Reliability
CA2014: Do not use stackalloc in loops. -- Enabled by default
CA2015: Do not define finalizers for types derived from MemoryManager -- Enabled by default
CA2016: Forward the 'CancellationToken' parameter to methods that take one -- Enabled by default
Security
CA2109: Review visible event handlers -- Enabled by default
CA2350: Do not use insecure deserialization with DataTable.ReadXml()
CA2351: Do not use insecure deserialization with DataSet.ReadXml()
CA2352: Unsafe DataSet or DataTable in serializable type can be vulnerable to remote code execution attacks
CA2353: Unsafe DataSet or DataTable in serializable type
CA2354: Unsafe DataSet or DataTable in deserialized object graph can be vulnerable to remote code execution attacks
CA2355: Unsafe DataSet or DataTable type found in deserializable object graph
CA2356: Unsafe DataSet or DataTable type in web deserializable object graph
Usage
CA2247: Argument passed to TaskCompletionSource constructor should be TaskCreationOptions enum instead of TaskContinuationOptions enum. -- Enabled by default
CA2248: Provide correct 'enum' argument to 'Enum.HasFlag' -- Enabled by default
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 will not automatically merge this PR because it includes a minor update to a production dependency.
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)
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps Microsoft.NetCore.Analyzers from 3.0.0 to 3.3.0.
Release notes
Sourced from Microsoft.NetCore.Analyzers's releases.
Commits
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 will not automatically merge this PR because it includes a minor update to a production dependency.
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) - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)