projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3678 from mono/seq-read
[mono.git]
/
mcs
/
errors
/
cs0176-7.cs
1
// CS0176: Static member `A.Foo()' cannot be accessed with an instance reference, qualify it with a type name instead
2
// Line: 21
3
4
public class A
5
{
6
public static void Foo ()
7
{
8
}
9
}
10
11
public class Test
12
{
13
static A Prop
14
{
15
get {
16
return null;
17
}
18
}
19
20
public static void Main ()
21
{
22
Test.Prop.Foo ();
23
}
24
}