context — validation proof
Go’s own context 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 — it is the evidence behind the context row in
Validated Test Packages.
Validated 2026-10-25 · converter 3e3f18925
62 matched · 0 disclosed — Go 1.26.10, windows/amd64, converted package
src/core/context.
Measured at Release (tiered JIT off), oracle go version go1.26.10 windows/amd64.
Verdicts
| Test | go test |
go2cs |
|---|---|---|
TestAfterFuncCalledAfterCancel |
pass | pass |
TestAfterFuncCalledAfterTimeout |
pass | pass |
TestAfterFuncCalledAsynchronously |
pass | pass |
TestAfterFuncCalledImmediately |
pass | pass |
TestAfterFuncNotCalledAfterStop |
pass | pass |
TestAllocs |
pass | pass |
TestBackground |
pass | pass |
TestCancelRemoves |
pass | pass |
TestCanceledTimeout |
pass | pass |
TestCause |
pass | pass |
TestCause/Background |
pass | pass |
TestCause/TODO |
pass | pass |
TestCause/WithCancel |
pass | pass |
TestCause/WithCancelCause |
pass | pass |
TestCause/WithCancelCause:_child_cause_after_nil |
pass | pass |
TestCause/WithCancelCause:_child_cause_before_nil |
pass | pass |
TestCause/WithCancelCause:_parent_cause_after_child |
pass | pass |
TestCause/WithCancelCause:_parent_cause_after_nil |
pass | pass |
TestCause/WithCancelCause:_parent_cause_before_child |
pass | pass |
TestCause/WithCancelCause:_parent_cause_before_nil |
pass | pass |
TestCause/WithCancelCause_nil |
pass | pass |
TestCause/WithTimeout |
pass | pass |
TestCause/WithTimeoutCause |
pass | pass |
TestCause/WithTimeoutCause_canceled |
pass | pass |
TestCause/WithTimeoutCause_stacked |
pass | pass |
TestCause/WithTimeoutCause_stacked_canceled |
pass | pass |
TestCause/WithTimeout_canceled |
pass | pass |
TestCause/WithoutCancel |
pass | pass |
TestCause/WithoutCancel_canceled |
pass | pass |
TestCause/WithoutCancel_timeout |
pass | pass |
TestCause/parent_of_custom_context_is_canceled_after |
pass | pass |
TestCause/parent_of_custom_context_is_canceled_before |
pass | pass |
TestCause/parent_of_custom_context_not_canceled |
pass | pass |
TestCauseRace |
pass | pass |
TestChildFinishesFirst |
pass | pass |
TestContextErrDoneRace |
pass | pass |
TestCustomContextAfterFuncAfterFunc |
pass | pass |
TestCustomContextAfterFuncCancel |
pass | pass |
TestCustomContextAfterFuncTimeout |
pass | pass |
TestCustomContextAfterFuncUnregisterAfterFunc |
pass | pass |
TestCustomContextAfterFuncUnregisterCancel |
pass | pass |
TestCustomContextAfterFuncUnregisterTimeout |
pass | pass |
TestCustomContextCause |
pass | pass |
TestCustomContextGoroutines |
pass | pass |
TestCustomContextPropagation |
pass | pass |
TestDeadline |
pass | pass |
TestDeadlineExceededIsNetError |
pass | pass |
TestDeadlineExceededSupportsTimeout |
pass | pass |
TestInterlockedCancels |
pass | pass |
TestInvalidDerivedFail |
pass | pass |
TestLayersCancel |
pass | pass |
TestLayersTimeout |
pass | pass |
TestParentFinishesChild |
pass | pass |
TestSimultaneousCancels |
pass | pass |
TestTODO |
pass | pass |
TestTimeout |
pass | pass |
TestValues |
pass | pass |
TestWithCancel |
pass | pass |
TestWithCancelCanceledParent |
pass | pass |
TestWithCancelSimultaneouslyCanceledParent |
pass | pass |
TestWithValueChecksKey |
pass | pass |
TestWithoutCancel |
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.
- BenchmarkCancelTree (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkCheckCanceled (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkCommonParentCancel (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkContextCancelDone (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkDeepValueNewGoRoutine (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkDeepValueSameGoRoutine (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkErrCanceled (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkErrOK (benchmark): benchmark execution is deferred to Phase 4D
- BenchmarkWithTimeout (benchmark): benchmark execution is deferred to Phase 4D
- ExampleAfterFunc_cond (example): example execution is deferred to Phase 4D
- ExampleAfterFunc_connection (example): example execution is deferred to Phase 4D
- ExampleAfterFunc_merge (example): example execution is deferred to Phase 4D
- ExampleWithCancel (example): example execution is deferred to Phase 4D
- ExampleWithDeadline (example): example execution is deferred to Phase 4D
- ExampleWithTimeout (example): example execution is deferred to Phase 4D
- ExampleWithValue (example): example execution is deferred to Phase 4D