encoding/asn1 — validation proof

Go’s own encoding/asn1 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 encoding/asn1 row in Validated Test Packages.

Validated 2026-08-11 · converter dc3035988

38 matched · 0 disclosed — Go 1.23.1, windows/amd64, converted package src/core/encoding/asn1.

Verdicts

Test go test go2cs
TestBMPString pass pass
TestBitString pass pass
TestBitStringAt pass pass
TestBitStringRightAlign pass pass
TestCertificate pass pass
TestCertificateWithNUL pass pass
TestExplicitTagRawValueStruct pass pass
TestExplicitTaggedTime pass pass
TestGeneralizedTime pass pass
TestImplicitTaggedTime pass pass
TestInvalidUTF8 pass pass
TestIssue11130 pass pass
TestMarshal pass pass
TestMarshalError pass pass
TestMarshalNilValue pass pass
TestMarshalOID pass pass
TestMarshalWithParams pass pass
TestNonMinimalEncodedOID pass pass
TestNull pass pass
TestObjectIdentifier pass pass
TestObjectIdentifierEqual pass pass
TestParseBigInt pass pass
TestParseBool pass pass
TestParseFieldParameters pass pass
TestParseInt32 pass pass
TestParseInt64 pass pass
TestParseTagAndLength pass pass
TestRawStructs pass pass
TestSetEncoder pass pass
TestSetEncoderSETSliceSuffix pass pass
TestStringSlice pass pass
TestTaggedRawValue pass pass
TestTruncatedExplicitTag pass pass
TestUTCTime pass pass
TestUnexportedStructField pass pass
TestUnmarshal pass pass
TestUnmarshalInvalidUTF8 pass pass
TestUnmarshalWithNilOrNonPointer 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.