Fixing the return type of the ArmBase.ReverseElementBits methods in the PlatformNotSu...
authorTanner Gooding <tagoo@outlook.com>
Tue, 5 Nov 2019 17:30:07 +0000 (09:30 -0800)
committerGitHub <noreply@github.com>
Tue, 5 Nov 2019 17:30:07 +0000 (09:30 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/b2f98b9a29ce10178ab61fc14e11f17200e2d111

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/ArmBase.PlatformNotSupported.cs

index 2a81e28..855c41b 100644 (file)
@@ -46,12 +46,12 @@ namespace System.Runtime.Intrinsics.Arm
             /// <summary>
             ///   A64: RBIT Xd, Xn
             /// </summary>
-            public static int ReverseElementBits(long value) { throw new PlatformNotSupportedException(); }
+            public static long ReverseElementBits(long value) { throw new PlatformNotSupportedException(); }
 
             /// <summary>
             ///   A64: RBIT Xd, Xn
             /// </summary>
-            public static int ReverseElementBits(ulong value) { throw new PlatformNotSupportedException(); }
+            public static ulong ReverseElementBits(ulong value) { throw new PlatformNotSupportedException(); }
         }
 
         /// <summary>
@@ -76,6 +76,6 @@ namespace System.Runtime.Intrinsics.Arm
         ///   A32: RBIT Rd, Rm
         ///   A64: RBIT Wd, Wn
         /// </summary>
-        public static int ReverseElementBits(uint value) { throw new PlatformNotSupportedException(); }
+        public static uint ReverseElementBits(uint value) { throw new PlatformNotSupportedException(); }
     }
 }