Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@@ -4,10 +4,14 @@ include ../../build/rules.make
LIBRARY = System.Numerics.dll
LIB_REFS = System
LIB_MCS_FLAGS = /unsafe -nowarn:414 -nowarn:436
LIB_MCS_FLAGS = /unsafe
TEST_MCS_FLAGS = $(LIB_MCS_FLAGS)
XTEST_LIB_REFS = System Facades/System.Threading.Tasks System.Runtime.InteropServices.RuntimeInformation System.Core System.Numerics.Vectors Microsoft.CSharp
XTEST_LIB_FLAGS = -unsafe
TXT_RESOURCE_STRINGS = ../referencesource/System.Numerics/System.Numerics.txt
RESX_RESOURCE_STRING = \
../../../external/corefx/src/System.Runtime.Numerics/src/Resources/Strings.resx \
../../../external/corefx/src/System.Numerics.Vectors/src/Resources/Strings.resx
EXTRA_DISTFILES =

View File

@@ -1,21 +1,36 @@
../../build/common/Consts.cs
../../build/common/SR.cs
Assembly/AssemblyInfo.cs
ReferenceSources/SR.cs
../referencesource/System.Numerics/System/Numerics/BigInteger.cs
../referencesource/System.Numerics/System/Numerics/BigIntegerBuilder.cs
../referencesource/System.Numerics/System/Numerics/BigNumber.cs
../referencesource/System.Numerics/System/Numerics/Complex.cs
../referencesource/System.Numerics/System/Numerics/NumericsHelpers.cs
../referencesource/System.Numerics/System/Numerics/HashCodeHelper.cs
../referencesource/System.Numerics/System/Numerics/JITIntrinsicAttribute.cs
../referencesource/System.Numerics/System/Numerics/Matrix3x2.cs
../referencesource/System.Numerics/System/Numerics/Matrix4x4.cs
../referencesource/System.Numerics/System/Numerics/Plane.cs
../referencesource/System.Numerics/System/Numerics/Quaternion.cs
../referencesource/System.Numerics/System/Numerics/Vector2.cs
../referencesource/System.Numerics/System/Numerics/Vector2_Intrinsics.cs
../referencesource/System.Numerics/System/Numerics/Vector3.cs
../referencesource/System.Numerics/System/Numerics/Vector3_Intrinsics.cs
../referencesource/System.Numerics/System/Numerics/Vector4.cs
../referencesource/System.Numerics/System/Numerics/Vector4_Intrinsics.cs
../referencesource/System.Numerics/System/Numerics/Vector_Operations.cs
corefx/SR.cs
corefx/Vector.cs
../../../external/corefx/src/Common/src/System/Globalization/FormatProvider.Number.cs
../../../external/corefx/src/Common/src/System/Numerics/Hashing/HashHelpers.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Globalization/FormatProvider.BigInteger.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Globalization/FormatProvider.NumberBuffer.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigInteger.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.AddSub.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.BitsBuffer.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.DivRem.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.FastReducer.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.GcdInv.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.PowMod.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigIntegerCalculator.SquMul.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/BigNumber.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/Complex.cs
../../../external/corefx/src/System.Runtime.Numerics/src/System/Numerics/NumericsHelpers.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/MathF.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/JitIntrinsicAttribute.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Matrix3x2.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Matrix4x4.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Plane.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Quaternion.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector2.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector2_Intrinsics.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector3.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector3_Intrinsics.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector4.cs
../../../external/corefx/src/System.Numerics.Vectors/src/System/Numerics/Vector4_Intrinsics.cs

View File

@@ -1,13 +1,13 @@
//
// This file was generated by txt2sr tool
// This file was generated by resx2sr tool
//
partial class SR
{
public const string Argument_BadFormatSpecifier = "Format specifier was invalid.";
public const string Argument_InvalidNumberStyles = "An undefined NumberStyles value is being used.";
public const string 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.";
public const string Argument_MustBeBigInt = "The parameter must be a BigInteger.";
public const string Format_InvalidFormatSpecifier = "Format specifier was invalid.";
public const string Format_TooLarge = "The value is too large to be represented by this format specifier.";
public const string ArgumentOutOfRange_MustBeNonNeg = "The number must be greater than or equal to zero.";
public const string Overflow_BigIntInfinity = "BigInteger cannot represent infinity.";
@@ -18,4 +18,8 @@ partial class SR
public const string Overflow_UInt32 = "Value was either too large or too small for a UInt32.";
public const string Overflow_UInt64 = "Value was either too large or too small for a UInt64.";
public const string Overflow_Decimal = "Value was either too large or too small for a Decimal.";
public const string Arg_ArgumentOutOfRangeException = "Index was out of bounds:";
public const string Arg_ElementsInSourceIsGreaterThanDestination = "Number of elements in source vector is greater than the destination array";
public const string Arg_NullArgumentNullRef = "The method was called with a null array argument.";
public const string Arg_TypeNotSupported = "Specified type is not supported";
}

View File

@@ -0,0 +1,12 @@
namespace System.Numerics
{
static class Vector
{
[JitIntrinsic]
public static bool IsHardwareAccelerated {
get {
return false;
}
}
}
}