[corlib] Simplify RuntimeInformation by getting OS name from the runtime (#13164)
[mono-project.git] / mcs / errors / cs0021-5.cs
blob19c44839cf852758e92c84d4c7fbd078458b1223
1 // CS0021: Cannot apply indexing with [] to an expression of type `object'
2 // Line: 9
4 class C
6 public static void Main ()
8 var d = new object {
9 ["a"] = 1