Implement the Count property, the IEquatable and IFormattable interfaces, and the...
authorTanner Gooding <tagoo@outlook.com>
Thu, 29 Nov 2018 20:15:43 +0000 (12:15 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Nov 2018 20:15:43 +0000 (12:15 -0800)
commit211d963a42c8988770afa4d2edcbe9be0ed0b8a8
tree88b907f2c9c89732feec22b502463a1b92c74674
parent93d3f4c1f7f8a27c94aad68837dc8dda30c19b02
Implement the Count property, the IEquatable and IFormattable interfaces, and the standard object overrides on Vector64/128/256<T> (#21259)

* Exposing the Count property on Vector64/128/256<T>

* Implementing IEquatable, IFormattable, and the object overrides on Vector64/128/256<T>

* Use StringBuilderCache, HashCode, and the provided format specifier

* Use StringBuilderCache.GetStringAndRelease and get the correct element when formatting Vector64/128/256<T>
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector128_1.cs
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector256_1.cs
src/System.Private.CoreLib/shared/System/Runtime/Intrinsics/Vector64_1.cs