Api diff between 2.0 and 2.1
This commit is contained in:
22
release-notes/2.1/api-diff/2.0-vs-2.1_System.Numerics.md
Normal file
22
release-notes/2.1/api-diff/2.0-vs-2.1_System.Numerics.md
Normal 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);
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user