a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
24 lines
275 B
C#
24 lines
275 B
C#
using System;
|
|
|
|
public class Bar<U> where U : EventArgs
|
|
{
|
|
internal void OnWorldDestroyed ()
|
|
{
|
|
}
|
|
}
|
|
|
|
public class Baz<U> where U : Bar<EventArgs>
|
|
{
|
|
public void DestroyWorld (U bar)
|
|
{
|
|
bar.OnWorldDestroyed ();
|
|
}
|
|
}
|
|
|
|
public class Bling
|
|
{
|
|
public static void Main ()
|
|
{
|
|
}
|
|
}
|