How does a generic constraint prevent boxing of a value type with an implicitly implemented interface?

前端 未结 5 1994
南笙
南笙 2020-12-08 12:12

My question is somewhat related to this one: Explicitly implemented interface and generic constraint.

My question, however, is how the compiler enables a ge

5条回答
  •  遥遥无期
    2020-12-08 12:34

    I think you need to use

    • reflector
    • ildasm / monodis

    to really get the answer you want

    You can of course look into the specs of the CLR (ECMA) and or the source of a C# compiler (mono)

提交回复
热议问题