dotnet / dotnet/linker

Report precise locations for generics in analyzer

Open
#2,569 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

Warnings like `IL2091` about generic arguments not satisfying the requirements of annotated generic parameters could point to the specific argument that doesn't match, instead of the full generic name. I think the precise warning locations would be worth implementing since it gives a better UX, especially when there are multiple arguments that produce warnings for the same generic method.

Tracking as a possible future improvement to https://github.com/dotnet/linker/issues/2364.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.