FSharp.Formatting
FSharp.Formatting copied to clipboard
Bump Microsoft.CodeAnalysis.CSharp from 4.7.0 to 4.8.0
Bumps Microsoft.CodeAnalysis.CSharp from 4.7.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.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
Obsoletion and removal of SyntaxNode serialization.
Continuation of the deprecation that happened in 4.8.0 (see information above). In 4.9.0 this functionality is now entirely removed, and will issue both an obsoletion error, and will throw at runtime if the APIs are used.
Changes in
Microsoft.CodeAnalysis.Emit.EmitBaseline.CreateInitialBaselinemethodA new required parameter
Compilationhas been added. Existing overloads without this parameter no longer work and throwNotSupportedException.Changes in
Microsoft.CodeAnalysis.Emit.SemanticEditconstructorsThe value of
preserveLocalVariablespassed to the constructors is no longer used.
Commits
- See full diff in compare view
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 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)
Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.