[metadata] Use MONO_PROFILER_API on MonoClass getters in checked builds (#20440)
[mono-project.git] / mcs / errors / cs0211.cs
blob811a909c937b44c779f3022a708ef65fd7e818b8
1 // CS0211: Cannot take the address of the given expression
2 // Line: 7
3 // Compiler options: -unsafe
5 class UnsafeClass {
6 unsafe UnsafeClass () {
7 fixed (int* a = &(2)) {}