projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #3749 from BrzVlad/fix-mips-fix
[mono.git]
/
mcs
/
errors
/
cs0176-6.cs
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
{
7
public static int X { get { return 2; } }
8
}
9
10
class T
11
{
12
static void Main ()
13
{
14
A T = new A ();
15
System.Console.WriteLine (T.X);
16
}
17
}