Subterranean IL: Constructor constraints
- by Simon Cooper
The constructor generic constraint is a slightly wierd one. The ECMA specification simply states that it:
constrains [the type] to being a concrete reference type (i.e., not abstract)
that has a public constructor taking no arguments (the default constructor), or to being a value type.
There seems to be no reference within the spec to how you…