{
"ErrorMessage": "Could not find public static member (property, field, or method) named 'CopyToAsync_AllDataCopied_MemberData' on System.Net",
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}
System.ArgumentException : Could not find public static member (property, field, or method) named 'CopyToAsync_AllDataCopied_MemberData' on System.Net.Sockets.Tests.NetworkStreamTest
Note
This issue was created with the assistance of AI (GitHub Copilot).
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1388505
Build error leg or test failing:
System.Net.Sockets.Tests.NetworkStreamTest.CopyToAsync_AllDataCopiedHelix log: https://helixr1107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-5a4f2044519842698e/System.Net.Sockets.Tests/3/console.1f596a8f.log?helixlogtype=result
Error Message
Fill the error message using step by step known issues guidance.
{ "ErrorMessage": "Could not find public static member (property, field, or method) named 'CopyToAsync_AllDataCopied_MemberData' on System.Net", "ErrorPattern": "", "BuildRetry": false, "ExcludeConsoleLog": false }Description
NetworkStreamTest.CopyToAsync_AllDataCopiedhas been failing consistently on macOS 15 (both amd64 and arm64) since April 7, 2026. The test uses[MemberData(nameof(CopyToAsync_AllDataCopied_MemberData))]to get test data from an inherited static method in the base classConnectedStreamConformanceTests(inStreamConformanceTests.cs).The error is:
The
CopyToAsync_AllDataCopied_MemberDatamethod exists on the base classConnectedStreamConformanceTestsand ispublic static. The test works on all other platforms. This appears to be a test infrastructure / xunit reflection issue specific to macOS 15.Frequency: 10 distinct builds over 2 weeks (April 7ΓÇô21), macOS 15 only.
Platforms affected:
OSX.15.Amd64.Open,OSX.15.Arm64.OpenKnown issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1388505⚠️ Validation could not be done without an Azure DevOps build URL on the issue. Please add it to the "Build: 🔎" line.
Result validation:
Validation performed at: 4/21/2026 2:33:24 PM UTC
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1388505
Error message validated:
[Could not find public static member (property, field, or method) named 'CopyToAsync_AllDataCopied_MemberData' on System.Net]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 4/21/2026 2:35:17 PM UTC
Report
Summary