repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update readme (#21797)
[mono-project.git]
/
mcs
/
errors
/
cs0112.cs
blob
59801a074be8420235543a32cf35ef0515c28110
1
// CS0112: A static member `X.Bar.Add(int, int)' cannot be marked as override, virtual or abstract
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
}