projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Wed Oct 17 13:24:33 CEST 2007 Paolo Molaro <lupus@ximian.com>
[mono.git]
/
mcs
/
errors
/
gcs1914.cs
1
// CS1914: Static field or property `Data.Count' cannot be assigned in an object initializer
2
// Line: 17
3
// Compiler options: -langversion:linq
4
5
using System;
6
using System.Collections.Generic;
7
8
class Data
9
{
10
public static int Count;
11
}
12
13
public class Test
14
{
15
static void Main ()
16
{
17
var c = new Data { Count = 10 };
18
}
19
}