dotnet-core/release-notes/3.0/preview/api-diff/preview1/3.0-preview1_System.Runtime.InteropServices.md
Ahson Khan e6b9c28c28
Add API diff between .NET Core 2.2 and .NET Core 3.0 preview1. (#2256)
* Add API diff between .NET Core 2.2 and .NET Core 3.0 preview1.

* Only compare ref assemblies within M.NetCore.App rather than all impl
assemblies from the repo.

* Remove Microsoft.* namespaces and update heading.
2019-01-28 21:02:57 -08:00

974 B

System.Runtime.InteropServices

 namespace System.Runtime.InteropServices {
-    public struct HandleRef
+    public readonly struct HandleRef
     public static class Marshal {
+        public static int GetEndComSlot(Type t);
+        public static IntPtr GetExceptionPointers();
+        public static bool IsTypeVisibleFromCom(Type t);
     }
     public static class MemoryMarshal {
+        public static ref readonly T AsRef<T>(ReadOnlySpan<byte> span) where T : struct;
+        public static ref T AsRef<T>(Span<byte> span) where T : struct;
     }
     public readonly struct OSPlatform : IEquatable<OSPlatform> {
+        public static OSPlatform FreeBSD { get; }
     }
     public static class SequenceMarshal {
+        public static bool TryRead<T>(ref SequenceReader<byte> reader, out T value) where T : struct;
     }
+    public class StandardOleMarshalObject : MarshalByRefObject {
+        protected StandardOleMarshalObject();
+    }
 }