[mcs] Consider method candidates with misplaced named arguments not applicable. Fixes...
[mono.git] / mcs / errors / cs0211.cs
1 // CS0211: Cannot take the address of the given expression
2 // Line: 7
3 // Compiler options: -unsafe
4
5 class UnsafeClass {
6         unsafe UnsafeClass () {
7                 fixed (int* a = &(2)) {}
8         }
9 }
10