Edits to fix conflicts in generated Vector.cs file (#16666)
authorMandar Sahasrabuddhe <WinCPP@users.noreply.github.com>
Thu, 1 Mar 2018 06:30:07 +0000 (12:00 +0530)
committerJan Kotas <jkotas@microsoft.com>
Thu, 1 Mar 2018 06:30:07 +0000 (22:30 -0800)
Fixed minor space changes and one syntax error that causes conflict between checked in Vector.cs file and the freshly auto-generated Vector.cs file.

src/mscorlib/shared/System/Numerics/Vector.tt

index 82aa73d..275f473 100644 (file)
@@ -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