Source (correct):
T Func<T>(string name) where T : Object;
T Func<T>(string prefix, string name) where T : Object;
Current trunk (incorrect):
T Func<T>(string name) where T : Object;
T Func<T>(string prefix, string name) where T : Object;
This is a regression since the current stable 3.0 release.
I don't have a workaround for this one yet.
I attach a patch with a workaround. isInClassInitializer was not reset at end of statement.
Fixed.