for "build" config, import corlib common sources at unix instead (#11989)
[mono-project.git] / mcs / errors / cs0280.cs
blob62be8e3958504762f10aecf6e5926ddb26907cd3
1 // CS0280: `C.Fixable.GetPinnableReference(int)' has the wrong signature to be used in extensible fixed statement
2 // Line: 11
3 // Compiler options: -unsafe -langversion:latest -warnaserror
5 using System;
7 unsafe class C
9 public static void Main ()
11 fixed (int* p = new Fixable ()) {
15 struct Fixable
17 public ref int GetPinnableReference (int i = 1)
19 throw new NotImplementedException ();