repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-11-20 Marek Safar <marek.safar@gmail.com>
[mcs.git]
/
errors
/
cs0100.cs
blob
925f07537b3f8c84bafb8e7eb960021af6e2114c
1
// cs0100.cs: The parameter name `a' is a duplicate
2
// Line: 6
3
//
4
// Author:
5
// Alejandro Snchez Acosta <raciel@es.gnu.org>
6
//
7
// (C) Alejandro Snchez Acosta
8
//
9
10
public class
X
11
{
12
public void
Add
(
int
a
,
int
a
)
13
{
14
int
c
;
15
c
=
a
+
a
;
16
Console
.
WriteLine
(
c
);
17
}
18
19
static void
Main
()
20
{
21
this
.
Add
(
3
,
5
);
22
}
23
}
24