Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/api-snapshot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonojenkins <jo.shields+jenkins@xamarin.com>2018-11-30 22:24:26 +0300
committermonojenkins <jo.shields+jenkins@xamarin.com>2018-11-30 22:24:26 +0300
commit3ee07e0a5320df9f7b8fffd03ab70abfc813fdc9 (patch)
treec7292d3f9c20aac1ed0b2a00271ce417c6e67c5d
parent1bd181b16daf273ee6cde87f4c73c0192e6efa30 (diff)
Apply changes from https://github.com/mono/mono/pull/11797 to API snapshot
-rw-r--r--profiles/monodroid/mscorlib.cs4
-rw-r--r--profiles/monotouch/mscorlib.cs4
-rw-r--r--profiles/net_4_x/mscorlib.cs4
3 files changed, 6 insertions, 6 deletions
diff --git a/profiles/monodroid/mscorlib.cs b/profiles/monodroid/mscorlib.cs
index 71022f2..5a939a4 100644
--- a/profiles/monodroid/mscorlib.cs
+++ b/profiles/monodroid/mscorlib.cs
@@ -3917,8 +3917,6 @@ namespace System
protected virtual void OnReport(T value) { }
void System.IProgress<T>.Report(T value) { }
}
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- [System.SerializableAttribute]
public partial class Random
{
public Random() { }
@@ -3927,6 +3925,7 @@ namespace System
public virtual int Next(int maxValue) { throw null; }
public virtual int Next(int minValue, int maxValue) { throw null; }
public virtual void NextBytes(byte[] buffer) { }
+ public virtual void NextBytes(System.Span<byte> buffer) { }
public virtual double NextDouble() { throw null; }
protected virtual double Sample() { throw null; }
}
@@ -21483,6 +21482,7 @@ namespace System.Security.Cryptography
public static System.Security.Cryptography.RandomNumberGenerator Create(string rngName) { throw null; }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
+ public static void Fill(System.Span<byte> data) { }
public abstract void GetBytes(byte[] data);
public virtual void GetBytes(byte[] data, int offset, int count) { }
public virtual void GetNonZeroBytes(byte[] data) { }
diff --git a/profiles/monotouch/mscorlib.cs b/profiles/monotouch/mscorlib.cs
index 2d1f433..320fec7 100644
--- a/profiles/monotouch/mscorlib.cs
+++ b/profiles/monotouch/mscorlib.cs
@@ -3897,8 +3897,6 @@ namespace System
protected virtual void OnReport(T value) { }
void System.IProgress<T>.Report(T value) { }
}
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- [System.SerializableAttribute]
public partial class Random
{
public Random() { }
@@ -3907,6 +3905,7 @@ namespace System
public virtual int Next(int maxValue) { throw null; }
public virtual int Next(int minValue, int maxValue) { throw null; }
public virtual void NextBytes(byte[] buffer) { }
+ public virtual void NextBytes(System.Span<byte> buffer) { }
public virtual double NextDouble() { throw null; }
protected virtual double Sample() { throw null; }
}
@@ -20321,6 +20320,7 @@ namespace System.Security.Cryptography
public static System.Security.Cryptography.RandomNumberGenerator Create(string rngName) { throw null; }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
+ public static void Fill(System.Span<byte> data) { }
public abstract void GetBytes(byte[] data);
public virtual void GetBytes(byte[] data, int offset, int count) { }
public virtual void GetNonZeroBytes(byte[] data) { }
diff --git a/profiles/net_4_x/mscorlib.cs b/profiles/net_4_x/mscorlib.cs
index 0c33243..0689a64 100644
--- a/profiles/net_4_x/mscorlib.cs
+++ b/profiles/net_4_x/mscorlib.cs
@@ -3963,8 +3963,6 @@ namespace System
protected virtual void OnReport(T value) { }
void System.IProgress<T>.Report(T value) { }
}
- [System.Runtime.InteropServices.ComVisibleAttribute(true)]
- [System.SerializableAttribute]
public partial class Random
{
public Random() { }
@@ -3973,6 +3971,7 @@ namespace System
public virtual int Next(int maxValue) { throw null; }
public virtual int Next(int minValue, int maxValue) { throw null; }
public virtual void NextBytes(byte[] buffer) { }
+ public virtual void NextBytes(System.Span<byte> buffer) { }
public virtual double NextDouble() { throw null; }
protected virtual double Sample() { throw null; }
}
@@ -21638,6 +21637,7 @@ namespace System.Security.Cryptography
public static System.Security.Cryptography.RandomNumberGenerator Create(string rngName) { throw null; }
public void Dispose() { }
protected virtual void Dispose(bool disposing) { }
+ public static void Fill(System.Span<byte> data) { }
public abstract void GetBytes(byte[] data);
public virtual void GetBytes(byte[] data, int offset, int count) { }
public virtual void GetNonZeroBytes(byte[] data) { }