Commit e57af36
[clr-ios] Preserve inherited MemberData statics on maccatalyst CoreCLR (#128409)
## Description
On maccatalyst-arm64 `AllSubsets_CoreCLR`, ILLink strips the inherited
`ReadWrite_Success_MemberData` and
`CopyToAsync_AllDataCopied_MemberData` statics on
`ConnectedStreamConformanceTests`, so xUnit's `[MemberData]` lookup
fails for `CryptoStreamTests.ReadWrite_Success` and
`NetworkStreamTest.CopyToAsync_AllDataCopied`. Adds a
`[DynamicDependency]` on each derived override to root the base statics,
and restores the `IsMultithreadingSupported` guard on
`CopyToAsync_AllDataCopied`.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: kotlarmilos <kotlarmilos@users.noreply.github.com>1 parent 98d5787 commit e57af36
4 files changed
Lines changed: 8 additions & 0 deletions
File tree
- src/libraries
- System.Net.Sockets/tests/FunctionalTests
- System.Security.Cryptography/tests
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
| 875 | + | |
875 | 876 | | |
876 | 877 | | |
877 | 878 | | |
| |||
0 commit comments