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
2007-03-09 Chris Toshok <toshok@ximian.com>
[mcs.git]
/
errors
/
gcs0117.cs
blob
943d67e4ae7357680059aa563a641caf8b085705
1
// gcs0117.cs: `X' does not contain a definition for `Test'
2
// Line: 12
3
4
class
A
<
X
>
5
{
6
//
7
// This is to test the lookup rules for SimpleNames:
8
// `X' is the type parameter, not the class.
9
//
10
public void
Test
(
X x
)
11
{
12
x
.
Test
();
13
}
14
}
15
16
class
X
17
{
18
public void
Test
()
19
{ }
20
21
public static void
Main
()
22
{ }
23
}