[interp] Don't check for exception in native wrappers (#14184)
[mono-project.git] / mcs / errors / cs0213.cs
blobc48e3492efb5ccc9bf0c18d477b1f38d5b4b2028
1 // CS0213: You cannot use the fixed statement to take the address of an already fixed expression
2 // Line: 12
3 // Compiler options: -unsafe
5 class UnsafeClass {
6 unsafe UnsafeClass () {
7 int value = 5;
8 Calculate(value);
11 unsafe void Calculate (int value) {
12 fixed (int *x = &value) {}