1
0
mirror of synced 2025-12-23 21:05:00 -05:00

Api diff between 2.0 and 2.1

This commit is contained in:
Wes Haggard
2018-05-25 15:28:02 -07:00
parent e455f4aa1f
commit 5185cd6ad3
40 changed files with 2003 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# System.Numerics
``` diff
namespace System.Numerics {
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public struct BigInteger : IComparable, IComparable<BigInteger>, IEquatable<BigInteger>, IFormattable {
+ public BigInteger(ReadOnlySpan<byte> value, bool isUnsigned=false, bool isBigEndian=false);
+ public int GetByteCount(bool isUnsigned=false);
+ public static BigInteger Parse(ReadOnlySpan<char> value, NumberStyles style=(NumberStyles)(7), IFormatProvider provider=null);
+ public byte[] ToByteArray(bool isUnsigned=false, bool isBigEndian=false);
+ public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format=default(ReadOnlySpan<char>), IFormatProvider provider=null);
+ public static bool TryParse(ReadOnlySpan<char> value, NumberStyles style, IFormatProvider provider, out BigInteger result);
+ public static bool TryParse(ReadOnlySpan<char> value, out BigInteger result);
+ public bool TryWriteBytes(Span<byte> destination, out int bytesWritten, bool isUnsigned=false, bool isBigEndian=false);
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public struct Vector<T> : IEquatable<Vector<T>>, IFormattable where T : struct {
+ public Vector(Span<T> values);
}
}
```