Xamarin Public Jenkins (auto-signing) 94b2861243 Imported Upstream version 4.8.0.309
Former-commit-id: 5f9c6ae75f295e057a7d2971f3a6df4656fa8850
2016-11-10 13:04:39 +00:00

22 lines
322 B
C#

using System;
using System.Runtime.InteropServices;
abstract class Foo {
public abstract void Bar (int a);
}
class Bar {
[DllImport ("foo.dll")]
public extern static void Pan ([MarshalAs (UnmanagedType.I4)] int i);
}
public class Baz {
public void PrintAnswer ()
{
Console.WriteLine ("answer: {0}", 42);
}
}