blob: 3dd2dd398c2677b58a902d72adb9422c02c42372 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
partial class Test
{
static partial void Foo<T> ();
static partial void Baz<T> ();
static partial void Baz<U> ()
{
}
static partial void Bar<T> (T t) where T : class;
static partial void Bar<U> (U u) where U : class
{
}
public static void Main ()
{
Foo<long> ();
Baz<string> ();
Bar<Test> (null);
}
}
|