Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@ -6,6 +6,7 @@
; NOTE: do not use \", use ' instead
; NOTE: Use # or ; for comments
Argument_InvalidNumberStyles=An undefined NumberStyles value is being used.
Argument_InvalidHexStyle=With the AllowHexSpecifier bit set in the enum bit field, the only other valid bits that can be combined into the enum value must be a subset of those in HexNumber.
Argument_MustBeBigInt=The parameter must be a BigInteger.
@ -20,3 +21,8 @@ Overflow_Int64=Value was either too large or too small for an Int64.
Overflow_UInt32=Value was either too large or too small for a UInt32.
Overflow_UInt64=Value was either too large or too small for a UInt64.
Overflow_Decimal=Value was either too large or too small for a Decimal.
Arg_ArgumentOutOfRangeException=Index was out of bounds:
Arg_ElementsInSourceIsGreaterThanDestination=Number of elements in source vector is greater than the destination array
Arg_MultiDimArrayNotSupported=Only one-dimensional arrays are supported
Arg_RegisterLengthOfRangeException=length must be less than
Arg_NullArgumentNullRef=The method was called with a null array argument.

View File

@ -290,7 +290,7 @@ namespace System.Numerics {
return new Complex(Math.Sin(a) * Math.Cosh(b), Math.Cos(a) * Math.Sinh(b));
}
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sinh", Justification = "[....]: Existing Name")]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sinh", Justification = "Microsoft: Existing Name")]
public static Complex Sinh(Complex value) /* Hyperbolic sin */
{
double a = value.m_real;
@ -313,7 +313,7 @@ namespace System.Numerics {
return new Complex(Math.Cos(a) * Math.Cosh(b), - (Math.Sin(a) * Math.Sinh(b)));
}
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Cosh", Justification = "[....]: Existing Name")]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Cosh", Justification = "Microsoft: Existing Name")]
public static Complex Cosh(Complex value) /* Hyperbolic cos */
{
double a = value.m_real;
@ -333,7 +333,7 @@ namespace System.Numerics {
return (Sin(value) / Cos(value));
}
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Tanh", Justification = "[....]: Existing Name")]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Tanh", Justification = "Microsoft: Existing Name")]
public static Complex Tanh(Complex value) /* Hyperbolic tan */
{
return (Sinh(value) / Cosh(value));
@ -370,7 +370,7 @@ namespace System.Numerics {
return (new Complex(result_re, result_im));
}
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sqrt", Justification = "[....]: Existing Name")]
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Sqrt", Justification = "Microsoft: Existing Name")]
public static Complex Sqrt(Complex value) /* Square root ot the complex number */
{
return Complex.FromPolarCoordinates(Math.Sqrt(value.Magnitude), value.Phase / 2.0);