Make StringComparer.Create throw ArgumentNullException (#26570)
[mono-project.git] / mcs / errors / cs0133-2.cs
blob48488876f7e8e9914e5bfd2f21c2f53e23dd078c
1 // CS0133: The expression being assigned to `c' must be a constant or default value
2 // Line: 10
4 class C
6 void Foo ()
8 int[] array;
9 int idx;
10 const int c = array [idx];