mirror of https://github.com/icsharpcode/ILSpy.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
322 B
21 lines
322 B
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); |
|
} |
|
} |
|
|
|
|