repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove useless ip += from MINT_JMP, it is assigned later. (#19217)
[mono-project.git]
/
mcs
/
errors
/
cs0176-3.cs
blob
19df1ba3c8117741b4b8895b9732df65aa85ec88
1
// CS0176: 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
}