[Mono-bugs] [Bug 442610] New: Constructor not found
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Nov 7 03:38:29 EST 2008
https://bugzilla.novell.com/show_bug.cgi?id=442610
Summary: Constructor not found
Product: Mono: Runtime
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: misc
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: sanxiyn at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
SVN r118167.
Compiling the following testcase with gmcs dies in System.Reflection.Emit.
Testcase:
public delegate TResult Func<TResult>();
public delegate void GeneratorNext<T>(ref T current);
public class GeneratorEnumerable<T> {
public GeneratorEnumerable(Func<GeneratorNext<T>> next) {}
}
public class GeneratorExpression {}
public class GeneratorInvoker {
public GeneratorInvoker(GeneratorExpression generator) {}
public void Invoke<T>(ref T current) {}
}
public static class Interpreter {
public static object InterpretGenerator<T>(GeneratorExpression generator) {
return new GeneratorEnumerable<T>(
() => new GeneratorInvoker(generator).Invoke
);
}
}
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list