Add IFSharpInlineHintsService2 for displayAllOverride support#82629
Merged
Conversation
Introduce IFSharpInlineHintsService2 to enable F# inline hints providers to handle displayAllOverride. Update FSharpInlineHintsService to prefer the new interface if available, with fallback to the legacy interface. Adjust MEF constructor and GetInlineHintsAsync logic accordingly. Update public API file to reflect new interface and method. This enhances flexibility and feature support for F# inline hints in Roslyn.
CyrusNajmabadi
approved these changes
Mar 4, 2026
majocha
commented
Mar 4, 2026
T-Gro
approved these changes
Mar 4, 2026
JoeRobich
approved these changes
Mar 4, 2026
Member
|
Thanks @majocha! |
333fred
added a commit
to 333fred/roslyn
that referenced
this pull request
Mar 9, 2026
* upstream/main: (56 commits) [main] Source code updates from dotnet/dotnet (dotnet#82655) Update insert.yml to use roslyn-tools for insertions (dotnet#82615) Localized file check-in by OneLocBuild Task: Build definition ID 327: Build ID 2921538 Localized file check-in by OneLocBuild Task: Build definition ID 327: Build ID 2921538 Reduce allocations during source text diffing (dotnet#82462) Localized file check-in by OneLocBuild Task: Build definition ID 327: Build ID 2920904 Localized file check-in by OneLocBuild Task: Build definition ID 327: Build ID 2920904 Revert "Throw NotImplementedException when a build errorId is not supported" (dotnet#82638) [main] Source code updates from dotnet/dotnet (dotnet#82623) Revert System.ValueTuple version update (dotnet#82639) Pack enum values Track non-blocking PROTOTYPE comments for `Unions` feature in an issue (dotnet#82637) Update the build system errors instructions for Visual Studio 2026 Don't log named pipe connection failures as errors in BuildServerConnection (dotnet#82609) Fix resx source generator for less common resx metadata and locations (dotnet#81994) Disallow `ref` modifier for a union declaration (dotnet#82632) Add IFSharpInlineHintsService2 for displayAllOverride support (dotnet#82629) Report errors for union members that are not permitted (dotnet#82626) Check language version for union matching and conversions (dotnet#82617) [main] Update dependencies from dotnet/arcade (dotnet#82618) ...
This was referenced Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce IFSharpInlineHintsService2 to enable F# inline hints providers to handle displayAllOverride. Update FSharpInlineHintsService to prefer the new interface if available, with fallback to the legacy interface. Adjust MEF constructor and GetInlineHintsAsync logic accordingly. Update public API file to reflect new interface and method. This enhances flexibility and feature support for F# inline hints in Roslyn.
Fixes #82614