Open dependabot[bot] opened 1 year ago
@Turnerj Do you know anything about why this one is failing?
Looks like the version bump has a new requirement, from the CI logs:
A project containing analyzers or source generators should specify the property '<EnforceExtendedAnalyzerRules>true</EnforceExtendedAnalyzerRules>'
Related GitHub issue: https://github.com/dotnet/roslyn/issues/63290
Basically if enabled, there are a bunch of APIs we can no longer use (like System.IO.File
).
Now we should be OK just adding that attribute as we no longer do IO in our source generator. Worst case though, we can probably make that a compiler warning rather than error.
While not strictly necessary to get this in, we should wait for #591 to be merged. It does remove some last traces of using the System.IO namespace which should make this new attribute have absolutely no impact.
A newer version of Microsoft.CodeAnalysis.CSharp exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
Bumps Microsoft.CodeAnalysis.CSharp from 4.5.0 to 4.6.0.
Release notes
Sourced from Microsoft.CodeAnalysis.CSharp's releases.
Changelog
Sourced from Microsoft.CodeAnalysis.CSharp's changelog.
... (truncated)
Commits
You can trigger a rebase of this PR 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)