Repository navigation
Commit ca2148a
authored
Add NestedTypes to DynamicallyAccessedMember (#817)
This prevents nested types - e.g. child objects or arrays of child
objects - from being removed by the linker when an application is
trimmed.
This only works at the moment in current unreleased versions of the
.NET SDK (e.g. .NET 6 rc.1.21381.5). It does not work in any publicly
released preview up to and including .NET 6 Preview 6.
See dotnet/linker#2185 for more information.1 parent 93b8be6 commit ca2148a
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
0 commit comments