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
Merge pull request #3806 from BrzVlad/feature-parallel-gc-final
[mono-project.git]
/
mcs
/
errors
/
cs0120-4.cs
blob
3efae67aa1ec1b8c7d9e3472e19251665c9053e1
1
// CS0120: An object reference is required to access non-static member `X.Y'
2
// Line: 11
3
4
using
System
;
5
6
class
X
{
7
// Public properties and variables.
8
public string
Y
;
9
10
// Constructors.
11
public
X
()
12
{
13
}
14
15
// Public static methods.
16
public static void
Main
(
string
[]
Arguments
)
17
{
18
X
.
Y
=
""
;
19
}
20
}
21
22
23
24
25
26