Razor Intelisense doesn't suggest arguments of nested functions.
This issue has been moved from a ticket on Developer Community.
[severity:It bothers me. A fix would be nice] When I type
DrawRect(new Rect(
I would expect to see Intelisense suggestion about the arguments of the constructor of Rect. But I only see the arguments of DrawRect.
Original Comments
Feedback Bot on 4/23/2022, 11:52 PM:
(private comment, text removed)
Feedback Bot on 4/28/2022, 03:48 PM:
(private comment, text removed)
Original Solutions
(no solutions)
I was able to reproduce this with SkiaSharp.Views.Blazor installed and the code below. Note that the tooltip is for the outer DrawRect call and not SKRect even though the cursor is inside the SKRect initializer.

Code for copy:
@using SkiaSharp
@using SkiaSharp.Views.Blazor
<SKGLView OnPaintSurface=onPaint>
</SKGLView>
@code {
void onPaint(SKPaintGLSurfaceEventArgs args)
{
args.Surface.Canvas.DrawRect(new SKRect());
}
}
@ryzngard dope, thanks for confirming! I'd make a bet that this is LSP platform not re-requesting signature help
This was fixed by Roslyn in https://github.com/dotnet/roslyn/pull/73606