golang.org/x/sync/singleflight — validation proof
Go’s own golang.org/x/sync/singleflight test suite, converted to C# by go2cs, built against the converted standard
library, run under the Go-semantics test host, and compared verdict for verdict against a clean
go test -json baseline of the same sources. This page is generated by the converter from that
comparison, and written beside the conversion: it is not a row of go2cs’s standard-library roster.
Validated 2026-11-09
12 matched · 0 disclosed — Go 1.26.10, linux/amd64, converted package
src/golang.org/x/sync/singleflight.
Measured at Release (tiered JIT off), oracle go version go1.26.10 linux/amd64, with no controlling terminal.
Both sides were built with -tags purego,math_big_pure_go,safe.
Input digest sha256-e835be902c0c21049d3fd5f9c238a393dbcb79aaf82d5d85f9bbe857a58ecf47: the package’s Go sources, conversion options, target and converter, as its
project records them (GoInputDigest).
Verdicts
| Test | go test |
go2cs |
|---|---|---|
TestDo |
pass | pass |
TestDoChan |
pass | pass |
TestDoDupSuppress |
pass | pass |
TestDoErr |
pass | pass |
TestForget |
pass | pass |
TestGoexitDo |
pass | pass |
TestPanicDo |
pass | pass |
TestPanicDoChan |
pass | pass |
TestPanicDoSharedByDoChan |
pass | pass |
TestPanicErrorUnwrap |
pass | pass |
TestPanicErrorUnwrap/panicError_wraps_error_type |
pass | pass |
TestPanicErrorUnwrap/panicError_wraps_non-error_type |
pass | pass |
Excluded declarations
Declarations filtered from both sides of the comparison, and therefore not claimed above:
Benchmark, Fuzz and Example declarations the converted host does not execute, plus any
test requiring a capability the managed runtime does not provide — a testing member the host
has not implemented, or a platform behavior it provably cannot reproduce. Each is named with
the capability it needs.
- ExampleGroup (example): example execution is deferred to Phase 4D