[Mono-dev] Generic Variance

Scott Peterson scott at ssblack.co.nz
Sun Feb 1 10:31:38 EST 2009


This patch adds generic variance support to the C# compiler. This patch does
not fully support the spec in that it provides variance only for reference
types. This limitation is designed to reflect the current (proposed) level
of variance support in the VM. New error codes are defined and tests for
each code are provided, as well as tests for variance. This patch is
contributed under the MIT/X11 license. It is attached.

NOTE: This email is a re-send. The original also had the patch inline, but
it was too long for the system. Blarg.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090202/cd724e1b/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: variance-mcs.patch
Type: text/x-patch
Size: 35087 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090202/cd724e1b/attachment-0001.bin 


More information about the Mono-devel-list mailing list