projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[mcs] Add new test
[mono.git]
/
mcs
/
errors
/
cs0120-15.cs
1
// CS0120: An object reference is required to access non-static member `MainClass.Test'
2
// Line: 20
3
4
public class Test
5
{
6
public void Foo ()
7
{
8
}
9
}
10
11
public class MainClass
12
{
13
public Test Test
14
{
15
get;
16
set;
17
}
18
19
public static void Main (string[] args)
20
{
21
Test.Foo ();
22
}
23
}