Skip to content

Location (highlighting) of IL2026 diagnostic could be improved #109823

@YoshiRulz

Description

@YoshiRulz
void Current() => {|IL2026:JsonSerializer.Serialize(obj.LongMethodCallWith(args))|};
void Proposal() => {|IL2026:JsonSerializer.Serialize|}(obj.LongMethodCallWith(args));

Apologies if this is the wrong repo. I believe this is the source for the Analyzer, but it's not obvious where the relevant GetLocation call is.
I have version 8.0.110 of the SDK installed.
Moved from dotnet/roslyn#75914.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Tools-ILLink.NET linker development as well as trimming analyzersin-prThere is an active PR which will close this issue when it is merged

    Type

    No type

    Projects

    Status

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions