projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-06-08 Zoltan Varga <vargaz@freemail.hu>
[mono.git]
/
mono
/
tests
/
reflection4.cs
1
using System;
2
using System.Reflection;
3
4
public class T {
5
6
public static int Main() {
7
Type t = typeof (System.Console);
8
Type[] p= {typeof(string)};
9
10
MethodInfo m = t.GetMethod ("WriteLine", p);
11
12
if (typeof(void) != m.ReturnType) {
13
Console.WriteLine ("Type mismatch");
14
return 1;
15
}
16
return 0;
17
}
18
}