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
Make csproj target work again
[mcs.git]
/
errors
/
cs0176-3.cs
blob
a5cae490af434ba65366ceb2ad75e1b8d6a3de6b
1
// cs0176-3.cs: Static member `A.X' cannot be accessed with an instance reference, qualify it with a type name instead
2
// Line: 12
3
using
System
;
4
5
class
A
{
6
public static int
X
;
7
}
8
9
class
T
{
10
static void
Main
() {
11
A T
=
new
A
();
12
System
.
Console
.
WriteLine
(
T
.
X
);
13
}
14
}