Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs1644-44.cs
1 // CS1644: Feature `dictionary initializer' cannot be used because it is not part of the C# 5.0 language specification
2 // Line: 12
3 // Compiler options: -langversion:5
4
5 using System.Collections.Generic;
6
7 class C
8 {
9         public static void Main ()
10         {
11                 var d = new Dictionary<string, int> {
12                         ["a"] = 1
13                 };
14         }
15 }