blob: 80013d335caff816971d2f1b185ebde0763bcad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// CS1644: Feature `dictionary initializer' cannot be used because it is not part of the C# 5.0 language specification
// Line: 12
// Compiler options: -langversion:5
using System.Collections.Generic;
class C
{
public static void Main ()
{
var d = new Dictionary<string, int> {
["a"] = 1
};
}
}
|