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: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs