dotnet-core/release-notes/3.0/preview/api-diff/preview2/3.0-preview2_System.Runtime.InteropServices.md
Ahson Khan c8cb26c4ee
Add API diff between .NET Core 3.0 preview1 and preview2. (#2255)
* Add API diff between .NET Core 3.0 preview1 and preview2.

* Generate the API diff using API reviewer to follow the consistent
formatting.

* Only diff ref assemblies that are in-box (M.Netcore.App).
2019-01-28 21:03:59 -08:00

737 B

System.Runtime.InteropServices

 namespace System.Runtime.InteropServices {
+    public static class NativeLibrary {
+        public static void Free(IntPtr handle);
+        public static IntPtr GetExport(IntPtr handle, string name);
+        public static IntPtr Load(string libraryPath);
+        public static IntPtr Load(string libraryName, Assembly assembly, Nullable<DllImportSearchPath> searchPath);
+        public static bool TryGetExport(IntPtr handle, string name, out IntPtr address);
+        public static bool TryLoad(string libraryPath, out IntPtr handle);
+        public static bool TryLoad(string libraryName, Assembly assembly, Nullable<DllImportSearchPath> searchPath, out IntPtr handle);
+    }
 }