diff options
-rw-r--r-- | src/System.Private.CoreLib/shared/System/Numerics/Vector.tt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt b/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt index 82aa73d22..275f47350 100644 --- a/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt +++ b/src/System.Private.CoreLib/shared/System/Numerics/Vector.tt @@ -68,12 +68,12 @@ namespace System.Numerics /// Returns a vector containing all zeroes. /// </summary> public static Vector<T> Zero - { + { [Intrinsic] get { return s_zero; - } + } } private static readonly Vector<T> s_zero = new Vector<T>(); @@ -84,7 +84,7 @@ namespace System.Numerics { [Intrinsic] get - { + { return s_one; } } @@ -999,7 +999,7 @@ namespace System.Numerics [MethodImplAttribute(MethodImplOptions.AggressiveInlining)] public static Vector<T> operator ~(Vector<T> value) { - return allOnes ^ value; + return s_allOnes ^ value; } #endregion Bitwise Operators |