Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- If I were using the syntax that seems like it should work:
- public class SomeClass<T>
- {
- public SomeClass<SuperT> SomeMethod<SuperT>() where T : SuperT
- { }
- }
- If I were writing the method in Java:
- public class SomeClass<T>
- {
- public <SuperT super T> SomeClass<SuperT> SomeMethod()
- { }
- }
Advertisement
Add Comment
Please, Sign In to add comment