dotnet / dotnet/linker

Linker does not correctly generate XML suppressions for compiler generated nested types

Open
#1,841 2 comments 0 reactions 1 assignee Claimed by @mateoatr View on GitHub
area-Linker: Diagnostic
Dominant language
C#
Stars
392
Forks
128
Avg merge
2d 10h
Merged PRs (30d)
2

Description

Expected vs actual:
```diff
- LegacyRouteTableFactory.<>c.{Create}b__2_1(System.Reflection.Assembly)
+ LegacyRouteTableFactory.<>c.<Create>b__2_1(System.Reflection.Assembly)
```

[Here's the type](https://github.com/dotnet/aspnetcore/blob/main/src/Components/Components/src/Routing/LegacyRouteMatching/LegacyRouteTableFactory.cs) that produced the linker warning. I can try and produce a minimal repro if you have trouble using this type as-us

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.