Towards proving type safety of C#

  • Authors:
  • Nicu G. Fruja

  • Affiliations:
  • Swiss International Air Lines Ltd., P.O. Box CH-8058, Zurich-Airport, Switzerland

  • Venue:
  • Computer Languages, Systems and Structures
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

We consider a substantial subset ofC^#, named C^#"S. We develop a mathematical specification for C^#"S by formalizing its abstract syntax, execution environment, well-typedness conditions, and operational evaluation semantics. Based on this specification, we prove that C^#"S is type-safe by showing that the execution of C^#"S programs preserves the types, up to a subtype relationship.