projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2003-10-31 Pedro Martnez Juli <yoros@wanadoo.es>
[mono.git]
/
mcs
/
errors
/
cs0112.cs
1
// cs0112.cs: A static method can not be marked as virtual, abstract or override.
2
// Line: 13
3
4
namespace X
5
{
6
public abstract class Foo
7
{
8
public abstract int Add (int a, int b);
9
}
10
11
public class Bar: Foo
12
{
13
virtual public static int Add (int a, int b)
14
{
15
int c;
16
c = a + b;
17
return c;
18
}
19
20
static int Main ()
21
{
22
return a;
23
}
24
}
25
}