for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs8074.cs
blob25d4e81f3be4bec8ea0a922a395e1459772a3be7
1 // CS8074: Expression tree cannot contain a dictionary initializer
2 // Line: 13
4 using System;
5 using System.Collections.Generic;
6 using System.Linq.Expressions;
8 class C
10 public static void Main ()
12 Expression<Func<Dictionary<string, int>>> l = () => new Dictionary<string, int> {
13 ["a"] = 1