Skip to content
Languages / C#

C#

How Atracode compiles C#, what it is verified against, and what it refuses.

Style
Managed
Verified against
.NET 8 SDK
Published results
SHA-256 matches the BCL

What is supported

Full typed integer model with checked/unchecked, value-semantics structs, jagged arrays, patterns and switch expressions, exception-to-trap parity.

JVM and .NET semantics reproduced exactly.

How it is verified

Every C# program is compiled twice, once by Atracode and once by .NET 8 SDK. Both builds run over the same large set of inputs and must agree bit for bit in output and memory before the compile succeeds. See verification for how the sweep works.

$ atracode compile main.src
verified  raven:3f1c…  (illustrative)

What gets refused

Anything that depends on the world outside the program, such as the clock, the network, environment variables or unseeded randomness, is refused at its exact line and column instead of being approximated. Pass those values in as inputs and compile again. Refusals lists the common causes and fixes.

  • JavaVerified against JDK 21 (javac / java)
  • KotlinVerified against kotlinc / JVM
  • ScalaVerified against Scala 3 compiler
  • VB6Verified against VB compiler
  • VB.NETVerified against VB compiler
esc

Type to search titles, headings and text.