[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs1742-2.cs
blob112d15c092ed110ffa597f22c9dfadfc05ebf110
1 // CS1742: An element access expression cannot use named argument
2 // Line: 13
3 // Compiler options: -unsafe
5 using System;
7 unsafe class C
9 static void Main ()
11 int *p = null;
13 if (p [value:10] == 4)
14 return;