Bugzilla – Bug 316416
[GMCS] Wrong 122 error with generic structs
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by carlos@unixmexico.org 2004-11-08 16:45:58 MST ---- Description of Problem: Currently gmcs shows error when it finds a struct that has no constructors is created calling the default parameterless constructor. Steps to reproduce the problem: 1. Compile the attached file with gmcs Actual Results: GenericStruct2.cs(11) error CS0122: 'SimpleStruct`1..ctor' is inaccessible due to its protection level Expected Results: Compilation succeeded How often does this happen? Always Additional Information: ---- Additional Comments From carlos@unixmexico.org 2004-11-08 16:47:01 MST ---- Created an attachment (id=167011) Sample ---- Additional Comments From carlos@unixmexico.org 2004-11-12 19:19:56 MST ---- It looks like after Marint return, this error doesn't exist anymore. ---- Additional Comments From martin@ximian.com 2004-11-15 02:31:52 MST ---- Fixed in CVS. Imported an attachment (id=167011)