Having a type constraint to a valuetype satisfies .ctor.
commit45ae68a54c1044b4acb6ecb49c3cd1b83ac33cfc
authorRodrigo Kumpera <kumpera@gmail.com>
Wed, 20 Apr 2011 14:17:58 +0000 (20 11:17 -0300)
committerRodrigo Kumpera <kumpera@gmail.com>
Wed, 20 Apr 2011 14:22:33 +0000 (20 11:22 -0300)
tree8aacebd94e213651ffc86b535454c195227909d5
parent8e03efeb6ded3dd45370066971783f7bdd28cd11
Having a type constraint to a valuetype satisfies .ctor.

* class.c:
* verify.c: If a gparam has a valuetype type constraint it
can satisfy the .ctor constraint from other gparam.

Fixes #687841
mono/metadata/class.c
mono/metadata/verify.c