Bump Microsoft.CodeAnalysis.CSharp from 4.2.0 to 4.8.0
Bumps Microsoft.CodeAnalysis.CSharp from 4.2.0 to 4.8.0.
Release notes
Sourced from Microsoft.CodeAnalysis.CSharp's releases.
.NET 6.0.1
.NET 5.0.4
.NET 5.0.2
Release Notes Install Instructions
Repos
Changelog
Sourced from Microsoft.CodeAnalysis.CSharp's changelog.
Version 4.2.0
Can no longer inherit from QuickInfoService
The constructors of Microsoft.CodeAnalysis.QuickInfoService are now internal. Roslyn does not support implementing completion for arbitrary languages.
Microsoft.CodeAnalysis.CodeStyle.NotificationOptionis now immutableAll property setters now throw an exception.
Version 4.4.0
Workspace.OnWorkspaceFailedis no longer called when an error occurs while reading source file content from disk.The
WorkspaceandDocumentIdparameters ofTextLoader.LoadTextAndVersionAsync(Workspace, DocumentId, CancellationToken)are deprecated. The method now receivesnullWorkspaceandDocumentId.Version 4.5.0
SymbolDisplayFormat.CSharpErrorMessageFormatandCSharpShortErrorMessageFormatnow include parameter names by default if used on a standaloneIParameterSymbol. For example, parameterpinvoid M(ref int p)was previously formatted as"ref int"and now it is formatted as"ref int p".Version 4.7.0
SymbolDisplayFormatincludes parameter name when invoked onIParameterSymbolAll
SymbolDisplayFormats (predefined and user-created) now include parameter names by default if used on a standaloneIParameterSymbolfor consistency with predefined formats (see the breaking change for version 4.5.0 above).Changed
IncrementalStepRunReasonwhen a modified input produced a new output
IncrementalGeneratorRunStep.Outputspreviously containedIncrementalStepRunReason.ModifiedasReasonwhen the input to the step was modified in a way that produced a new output. Now the reason will be reported more accurately asIncrementalStepRunReason.New.Version 4.8.0
Changed
Assembly.Locationbehavior in non-WindowsThe value of
Assembly.Locationpreviously held the location on disk where an analyzer or source generator was loaded from. This could be either the original location or the shadow copy location. In 4.8 this will be""in certain cases when running on non Windows platforms. This is due the compiler server loading assemblies usingAssemblyLoadContext.LoadFromStreaminstead of loading from disk.This could already happen in other load scenarios but this change moves it into mainline build scenarios.
Deprecation warning for SyntaxNode serialization
The ability to serialize/deserialize a SyntaxNode to/from a Stream has been deprecated. The code for this still exists in Roslyn, but attempting to call the APIs to perform these functions will result in 'Obsolete' warnings being reported. A future version of Roslyn will remove this functionality entirely. This functionality could only work for a host that wrote out the nodes to a stream, and later read it back in within the same process instance. It could not be used to communicate across processes, or for persisting nodes to disk to be read in at a later time by a new host sessions. This functionality originally existed for the days when Roslyn was hosted in 32bit processes with limited address space. That is no longer a mainline supported scenario. Clients can get similar functionality by persisting the text of the node, and parsing it back out when needed.
Version 4.9.0
... (truncated)
Commits
- See full diff in compare view
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
We don't merge nor close this since we want to stay on a more compatible version for the analyzer/generator (for pre-VS2022 versions of VS).
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.
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.