Remove methods marked as internal from reference assembly. (dotnet/corefx#24700)
authorAhson Ahmed Khan <ahsonkhan@users.noreply.github.com>
Tue, 17 Oct 2017 21:31:29 +0000 (14:31 -0700)
committerStephen Toub <stoub@microsoft.com>
Tue, 17 Oct 2017 21:31:29 +0000 (17:31 -0400)
Commit migrated from https://github.com/dotnet/corefx/commit/e3977683cf78b7b1896a11e9de7df6a62408a1a6

src/libraries/System.Memory/ref/System.Memory.cs
src/libraries/System.Runtime/ref/System.Runtime.cs

index f145efe..e3a12d5 100644 (file)
@@ -128,7 +128,6 @@ namespace System
         public static ReadOnlyMemory<T> Empty { get { throw null; } }
         public ReadOnlyMemory(T[] array) { throw null;}
         public ReadOnlyMemory(T[] array, int start, int length) { throw null;}
-        internal ReadOnlyMemory(Buffers.OwnedMemory<T> owner, int index, int length) { throw null;}
         public bool IsEmpty { get { throw null; } }
         public int Length { get { throw null; } }
         [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
@@ -152,7 +151,6 @@ namespace System
         public static Memory<T> Empty { get { throw null; } }
         public Memory(T[] array) { throw null;}
         public Memory(T[] array, int start, int length) { throw null;}
-        internal Memory(Buffers.OwnedMemory<T> owner, int index, int length) { throw null;}
         public bool IsEmpty { get { throw null; } }
         public int Length { get { throw null; } }
         [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
@@ -178,7 +176,6 @@ namespace System.Buffers
     {
         public MemoryHandle(IRetainable owner, void* pinnedPointer = null,  System.Runtime.InteropServices.GCHandle handle = default(System.Runtime.InteropServices.GCHandle))  { throw null; }
         public void* PinnedPointer { get { throw null; } }
-        internal void AddOffset(int offset) { throw null; }
         public void Dispose() { throw null; }
     }
 
index 09fc27b..c4a8cb2 100644 (file)
@@ -1642,7 +1642,6 @@ namespace System
         public static Memory<T> Empty { get { throw null; } }
         public Memory(T[] array) { throw null;}
         public Memory(T[] array, int start, int length) { throw null;}
-        internal Memory(Buffers.OwnedMemory<T> owner, int index, int length) { throw null;}
         public bool IsEmpty { get { throw null; } }
         public int Length { get { throw null; } }
         [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
@@ -1866,7 +1865,6 @@ namespace System
         public static ReadOnlyMemory<T> Empty { get { throw null; } }
         public ReadOnlyMemory(T[] array) { throw null;}
         public ReadOnlyMemory(T[] array, int start, int length) { throw null;}
-        internal ReadOnlyMemory(Buffers.OwnedMemory<T> owner, int index, int length) { throw null;}
         public bool IsEmpty { get { throw null; } }
         public int Length { get { throw null; } }
         [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
@@ -3843,7 +3841,6 @@ namespace System.Buffers
         public MemoryHandle(IRetainable owner, void* pinnedPointer = null,  System.Runtime.InteropServices.GCHandle handle = default(System.Runtime.InteropServices.GCHandle))  { throw null; }
         [System.CLSCompliantAttribute(false)]
         public void* PinnedPointer { get { throw null; } }
-        internal void AddOffset(int offset) { throw null; }
         public void Dispose() { throw null; }
     }