Bug 318405 (MONO75417) - [GMCS] custom accessor modifiers not working with generics?
Summary: [GMCS] custom accessor modifiers not working with generics?
Status: RESOLVED FIXED
Alias: MONO75417
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Carlos Alberto Cortez
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-29 09:46 UTC by Raja R Harinath
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 19:23:34 UTC


---- Reported by rharinath@novell.com 2005-06-29 02:46:48 MST ----

The following testcase (added as gtest-179.cs) fails compilation.  It
compiles fine with CSC.  The variant without generics also compiles fine
both with mcs and gmcs.

public class X<T> {
        public static int i {
                get { return 0; }
                private set { }
        }
        public static int myMain ()
        {
                return i++;
        }
}
public class Y {
        static int Main ()
        {
                return X<Y>.myMain ();
        }
}



---- Additional Comments From carlos@unixmexico.org 2005-07-27 20:05:01 MST ----

It's now fixed in SVN.


Unknown operating system unknown. Setting to default OS "Other".