dotnet / dotnet/winforms

XML comment crefs unusable with shared/duplicate CsWin32

Open
#10,524 4 comments 0 reactions 0 assignees View on GitHub
tracking-external-issue
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
1d 13m
Merged PRs (30d)
85

Description

XML comment `cref`s don't resolve the same way code does. They have visibility to everything, which prevents us from using them when we have duplicate type names in dependent assemblies or types that cross assemblies. We either have to turn off [CS1574](https://learn.microsoft.com/dotnet/csharp/misc/cs1574) and [CS1580](https://learn.microsoft.com/dotnet/csharp/misc/cs1574), or remove lots of existing `cref`s.

https://github.com/dotnet/winforms/pull/10320#issuecomment-1858617614

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.