Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
YoshiRulz opened this issue Nov 14, 2024 · 2 comments
Open

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

YoshiRulz opened this issue Nov 14, 2024 · 2 comments
Labels
area-Tools-ILLink .NET linker development as well as trimming analyzers untriaged New issue has not been triaged by the area owner

Comments

@YoshiRulz
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Nov 14, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Nov 14, 2024
@kumariaditi52
Copy link

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.

Stop

@huoyaoyuan huoyaoyuan added area-Tools-ILLink .NET linker development as well as trimming analyzers and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Nov 15, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @sbomer, @vitek-karas
See info in area-owners.md if you want to be subscribed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Tools-ILLink .NET linker development as well as trimming analyzers untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

3 participants