Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Toub <stoub@microsoft.com>2019-08-02 01:00:12 +0300
committerMarek Safar <marek.safar@gmail.com>2019-08-03 21:55:40 +0300
commitf532f93ea6457e3bbd2bef2b0b4d06416764c78a (patch)
treebca1f0a2019d17726bc3ec90674284b931c2c28f /netcore
parent3385433b606d47cdb623b93a1672e18a7fda7410 (diff)
Enable stylecop warnings 1205, 1212, and 1617 (dotnet/corefx#39941)
* Enable stylecop warning 1617 (void return value should not be documented) * Enable stylecop warning 1212 (get/set accessor ordering) * Enable stylecop warning 1205 (modifier ordering) Signed-off-by: dotnet-bot <dotnet-bot@microsoft.com>
Diffstat (limited to 'netcore')
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs10
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/IO/StreamReader.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/IO/StreamWriter.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs6
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs50
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs50
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs4
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs2
-rw-r--r--netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs2
39 files changed, 102 insertions, 102 deletions
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
index 3a1a353d862..5b5ecc856b4 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs
@@ -9,7 +9,7 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32)]
- internal extern static uint GetCurrentProcessId();
+ internal static extern uint GetCurrentProcessId();
}
internal static uint GetCurrentProcessId() => Kernel32.GetCurrentProcessId();
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
index 03c6c080c7d..1b694c94fa1 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetProcessTimes.cs
@@ -10,6 +10,6 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32, SetLastError = true)]
- internal extern static bool GetProcessTimes(IntPtr handleProcess, out long creation, out long exit, out long kernel, out long user);
+ internal static extern bool GetProcessTimes(IntPtr handleProcess, out long creation, out long exit, out long kernel, out long user);
}
}
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
index cbf07eae7ff..d3032425a22 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemInfo.cs
@@ -10,6 +10,6 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32)]
- internal extern static void GetSystemInfo(out SYSTEM_INFO lpSystemInfo);
+ internal static extern void GetSystemInfo(out SYSTEM_INFO lpSystemInfo);
}
}
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
index d9e858062c7..fe7ea692d1f 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetSystemTimes.cs
@@ -10,6 +10,6 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32, SetLastError = true)]
- internal extern static bool GetSystemTimes(out long idle, out long kernel, out long user);
+ internal static extern bool GetSystemTimes(out long idle, out long kernel, out long user);
}
}
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
index 6a87ec370b2..85fd9638fb5 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GlobalMemoryStatusEx.cs
@@ -9,7 +9,7 @@ internal partial class Interop
{
internal partial class Kernel32
{
- unsafe internal static bool GlobalMemoryStatusEx(ref MEMORYSTATUSEX buffer)
+ internal static unsafe bool GlobalMemoryStatusEx(ref MEMORYSTATUSEX buffer)
{
buffer.length = sizeof(MEMORYSTATUSEX);
return GlobalMemoryStatusExNative(ref buffer);
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
index 574cd93a0a8..07a180523c3 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualFree.cs
@@ -10,6 +10,6 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32)]
- unsafe internal static extern bool VirtualFree(void* lpAddress, UIntPtr dwSize, int dwFreeType);
+ internal static extern unsafe bool VirtualFree(void* lpAddress, UIntPtr dwSize, int dwFreeType);
}
}
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
index faab1cc81a6..5f57f732c78 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.VirtualQuery.cs
@@ -10,6 +10,6 @@ internal partial class Interop
internal partial class Kernel32
{
[DllImport(Libraries.Kernel32, SetLastError = true)]
- unsafe internal static extern UIntPtr VirtualQuery(void* lpAddress, ref MEMORY_BASIC_INFORMATION lpBuffer, UIntPtr dwLength);
+ internal static extern unsafe UIntPtr VirtualQuery(void* lpAddress, ref MEMORY_BASIC_INFORMATION lpBuffer, UIntPtr dwLength);
}
}
diff --git a/netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs b/netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
index 4ba39a74e2b..98b9d4a528b 100644
--- a/netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
+++ b/netcore/System.Private.CoreLib/shared/Interop/Windows/NtDll/Interop.NtQueryInformationFile.cs
@@ -11,7 +11,7 @@ internal partial class Interop
internal partial class NtDll
{
[DllImport(Libraries.NtDll, ExactSpelling = true)]
- unsafe internal static extern int NtQueryInformationFile(
+ internal static extern unsafe int NtQueryInformationFile(
SafeFileHandle FileHandle,
out IO_STATUS_BLOCK IoStatusBlock,
void* FileInformation,
diff --git a/netcore/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs b/netcore/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
index e768b35f1ed..dce7834389b 100644
--- a/netcore/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
+++ b/netcore/System.Private.CoreLib/shared/Microsoft/Win32/SafeHandles/SafeLibraryHandle.cs
@@ -8,7 +8,7 @@ namespace Microsoft.Win32.SafeHandles
{
internal SafeLibraryHandle() : base(true) { }
- override protected bool ReleaseHandle()
+ protected override bool ReleaseHandle()
{
return Interop.Kernel32.FreeLibrary(handle);
}
diff --git a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
index 4b465b583d0..1f02c13a005 100644
--- a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/ActivityTracker.cs
@@ -549,16 +549,16 @@ namespace System.Diagnostics.Tracing
#endregion // CreateGuidForActivityPath
- readonly internal string m_name; // The name used in the 'start' and 'stop' APIs to help match up
- readonly long m_uniqueId; // a small number that makes this activity unique among its siblings
+ internal readonly string m_name; // The name used in the 'start' and 'stop' APIs to help match up
+ private readonly long m_uniqueId; // a small number that makes this activity unique among its siblings
internal readonly Guid m_guid; // Activity Guid, it is basically an encoding of the Path() (see CreateActivityPathGuid)
internal readonly int m_activityPathGuidOffset; // Keeps track of where in m_guid the causality path stops (used to generated child GUIDs)
internal readonly int m_level; // current depth of the Path() of the activity (used to keep recursion under control)
- readonly internal EventActivityOptions m_eventOptions; // Options passed to start.
+ internal readonly EventActivityOptions m_eventOptions; // Options passed to start.
internal long m_lastChildID; // used to create a unique ID for my children activities
internal int m_stopped; // This work item has stopped
- readonly internal ActivityInfo? m_creator; // My parent (creator). Forms the Path() for the activity.
- readonly internal Guid m_activityIdToRestore; // The Guid to restore after a stop.
+ internal readonly ActivityInfo? m_creator; // My parent (creator). Forms the Path() for the activity.
+ internal readonly Guid m_activityIdToRestore; // The Guid to restore after a stop.
#endregion
}
diff --git a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
index c8c9c3e1845..2fc5911bccf 100644
--- a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/DiagnosticCounter.cs
@@ -79,25 +79,25 @@ namespace System.Diagnostics.Tracing
private string _displayName = "";
public string DisplayName
{
+ get { return _displayName; }
set
{
if (value == null)
throw new ArgumentException("Cannot set null as DisplayName");
_displayName = value;
}
- get { return _displayName; }
}
private string _displayUnits = "";
public string DisplayUnits
{
+ get { return _displayUnits; }
set
{
if (value == null)
throw new ArgumentException("Cannot set null as DisplayUnits");
_displayUnits = value;
}
- get { return _displayUnits; }
}
public string Name { get; }
diff --git a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
index ea05b9d68a8..264023a2464 100644
--- a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/EventSource.cs
@@ -5335,7 +5335,7 @@ namespace System.Diagnostics.Tracing
}
// Instance fields
- readonly internal EventListener m_Listener; // The dispatcher this entry is for
+ internal readonly EventListener m_Listener; // The dispatcher this entry is for
internal bool[]? m_EventEnabled; // For every event in a the eventSource, is it enabled?
// Only guaranteed to exist after a InsureInit()
diff --git a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
index 3d0afdd7743..f153f7f0d65 100644
--- a/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Diagnostics/Tracing/TraceLogging/PropertyValue.cs
@@ -31,7 +31,7 @@ namespace System.Diagnostics.Tracing
#else
internal
#endif
- unsafe readonly struct PropertyValue
+ readonly unsafe struct PropertyValue
{
/// <summary>
/// Union of well-known value types, to avoid boxing those types.
diff --git a/netcore/System.Private.CoreLib/shared/System/IO/StreamReader.cs b/netcore/System.Private.CoreLib/shared/System/IO/StreamReader.cs
index e6196f4cee6..c83a146a404 100644
--- a/netcore/System.Private.CoreLib/shared/System/IO/StreamReader.cs
+++ b/netcore/System.Private.CoreLib/shared/System/IO/StreamReader.cs
@@ -16,7 +16,7 @@ namespace System.IO
public class StreamReader : TextReader
{
// StreamReader.Null is threadsafe.
- public new static readonly StreamReader Null = new NullStreamReader();
+ public static new readonly StreamReader Null = new NullStreamReader();
// Using a 1K byte buffer and a 4K FileStream buffer works out pretty well
// perf-wise. On even a 40 MB text file, any perf loss by using a 4K
diff --git a/netcore/System.Private.CoreLib/shared/System/IO/StreamWriter.cs b/netcore/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
index 3cd83b0ef93..feda45f34ed 100644
--- a/netcore/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
+++ b/netcore/System.Private.CoreLib/shared/System/IO/StreamWriter.cs
@@ -28,7 +28,7 @@ namespace System.IO
private const int MinBufferSize = 128;
// Bit bucket - Null has no backing store. Non closable.
- public new static readonly StreamWriter Null = new StreamWriter(Stream.Null, UTF8NoBOM, MinBufferSize, leaveOpen: true);
+ public static new readonly StreamWriter Null = new StreamWriter(Stream.Null, UTF8NoBOM, MinBufferSize, leaveOpen: true);
private readonly Stream _stream;
private readonly Encoding _encoding;
diff --git a/netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs b/netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs
index 8afa109f428..e85b48f01ac 100644
--- a/netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Numerics/Vector.cs
@@ -803,7 +803,7 @@ namespace System.Numerics
/// <exception cref="ArgumentNullException">If the destination array is null</exception>
/// <exception cref="ArgumentException">If number of elements in source vector is greater than those available in destination array</exception>
[Intrinsic]
- public unsafe readonly void CopyTo(T[] destination)
+ public readonly unsafe void CopyTo(T[] destination)
{
CopyTo(destination, 0);
}
@@ -817,7 +817,7 @@ namespace System.Numerics
/// <exception cref="ArgumentOutOfRangeException">If index is greater than end of the array or index is less than zero</exception>
/// <exception cref="ArgumentException">If number of elements in source vector is greater than those available in destination array</exception>
[Intrinsic]
- public unsafe readonly void CopyTo(T[] destination, int startIndex)
+ public readonly unsafe void CopyTo(T[] destination, int startIndex)
{
if (destination == null)
{
@@ -1090,7 +1090,7 @@ namespace System.Numerics
/// <summary>
/// Returns the element at the given index.
/// </summary>
- public unsafe readonly T this[int index]
+ public readonly unsafe T this[int index]
{
[Intrinsic]
get
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
index e587c7c31d1..8d2fb4d3a06 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Aes() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m128i _mm_aesdec_si128 (__m128i a, __m128i RoundKey)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
index 45c028c3582..45a3735afd8 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Aes.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Aes() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m128i _mm_aesdec_si128 (__m128i a, __m128i RoundKey)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
index 1a0f2bdd08f..460fa4d3dd0 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Avx() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m256 _mm256_add_ps (__m256 a, __m256 b)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
index 79c97b886dd..6488760fb6c 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx.cs
@@ -18,7 +18,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Avx() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m256 _mm256_add_ps (__m256 a, __m256 b)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
index 7232d49f898..a15fa8860fb 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Avx2() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m256i _mm256_abs_epi8 (__m256i a)
@@ -797,49 +797,49 @@ namespace System.Runtime.Intrinsics.X86
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<sbyte> ExtractVector128(Vector256<sbyte> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<sbyte> ExtractVector128(Vector256<sbyte> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<byte> ExtractVector128(Vector256<byte> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<byte> ExtractVector128(Vector256<byte> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<short> ExtractVector128(Vector256<short> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<short> ExtractVector128(Vector256<short> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<ushort> ExtractVector128(Vector256<ushort> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<ushort> ExtractVector128(Vector256<ushort> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<int> ExtractVector128(Vector256<int> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<int> ExtractVector128(Vector256<int> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<uint> ExtractVector128(Vector256<uint> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<uint> ExtractVector128(Vector256<uint> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<long> ExtractVector128(Vector256<long> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<long> ExtractVector128(Vector256<long> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<ulong> ExtractVector128(Vector256<ulong> value, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector128<ulong> ExtractVector128(Vector256<ulong> value, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m128i _mm_i32gather_epi32 (int const* base_addr, __m128i vindex, const int scale)
@@ -1169,49 +1169,49 @@ namespace System.Runtime.Intrinsics.X86
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<sbyte> InsertVector128(Vector256<sbyte> value, Vector128<sbyte> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<sbyte> InsertVector128(Vector256<sbyte> value, Vector128<sbyte> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<byte> InsertVector128(Vector256<byte> value, Vector128<byte> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<byte> InsertVector128(Vector256<byte> value, Vector128<byte> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<short> InsertVector128(Vector256<short> value, Vector128<short> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<short> InsertVector128(Vector256<short> value, Vector128<short> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<ushort> InsertVector128(Vector256<ushort> value, Vector128<ushort> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<ushort> InsertVector128(Vector256<ushort> value, Vector128<ushort> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<int> InsertVector128(Vector256<int> value, Vector128<int> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<int> InsertVector128(Vector256<int> value, Vector128<int> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<uint> InsertVector128(Vector256<uint> value, Vector128<uint> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<uint> InsertVector128(Vector256<uint> value, Vector128<uint> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<long> InsertVector128(Vector256<long> value, Vector128<long> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<long> InsertVector128(Vector256<long> value, Vector128<long> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<ulong> InsertVector128(Vector256<ulong> value, Vector128<ulong> data, byte index) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<ulong> InsertVector128(Vector256<ulong> value, Vector128<ulong> data, byte index) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_stream_load_si256 (__m256i const* mem_addr)
@@ -1545,42 +1545,42 @@ namespace System.Runtime.Intrinsics.X86
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<sbyte> Permute2x128(Vector256<sbyte> left, Vector256<sbyte> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<sbyte> Permute2x128(Vector256<sbyte> left, Vector256<sbyte> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<byte> Permute2x128(Vector256<byte> left, Vector256<byte> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<byte> Permute2x128(Vector256<byte> left, Vector256<byte> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<short> Permute2x128(Vector256<short> left, Vector256<short> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<short> Permute2x128(Vector256<short> left, Vector256<short> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<ushort> Permute2x128(Vector256<ushort> left, Vector256<ushort> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<ushort> Permute2x128(Vector256<ushort> left, Vector256<ushort> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<int> Permute2x128(Vector256<int> left, Vector256<int> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<int> Permute2x128(Vector256<int> left, Vector256<int> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<uint> Permute2x128(Vector256<uint> left, Vector256<uint> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<uint> Permute2x128(Vector256<uint> left, Vector256<uint> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<long> Permute2x128(Vector256<long> left, Vector256<long> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<long> Permute2x128(Vector256<long> left, Vector256<long> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<ulong> Permute2x128(Vector256<ulong> left, Vector256<ulong> right, byte control) { throw new PlatformNotSupportedException(); }
+ public static new Vector256<ulong> Permute2x128(Vector256<ulong> left, Vector256<ulong> right, byte control) { throw new PlatformNotSupportedException(); }
/// <summary>
/// __m256i _mm256_permute4x64_epi64 (__m256i a, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
index bf9a72e1d81..1ee35773d46 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Avx2.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Avx2() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m256i _mm256_abs_epi8 (__m256i a)
@@ -797,49 +797,49 @@ namespace System.Runtime.Intrinsics.X86
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<sbyte> ExtractVector128(Vector256<sbyte> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<sbyte> ExtractVector128(Vector256<sbyte> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<byte> ExtractVector128(Vector256<byte> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<byte> ExtractVector128(Vector256<byte> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<short> ExtractVector128(Vector256<short> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<short> ExtractVector128(Vector256<short> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<ushort> ExtractVector128(Vector256<ushort> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<ushort> ExtractVector128(Vector256<ushort> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<int> ExtractVector128(Vector256<int> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<int> ExtractVector128(Vector256<int> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<uint> ExtractVector128(Vector256<uint> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<uint> ExtractVector128(Vector256<uint> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<long> ExtractVector128(Vector256<long> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<long> ExtractVector128(Vector256<long> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm256_extracti128_si256 (__m256i a, const int imm8)
/// VEXTRACTI128 xmm, ymm, imm8
/// </summary>
- public new static Vector128<ulong> ExtractVector128(Vector256<ulong> value, byte index) => ExtractVector128(value, index);
+ public static new Vector128<ulong> ExtractVector128(Vector256<ulong> value, byte index) => ExtractVector128(value, index);
/// <summary>
/// __m128i _mm_i32gather_epi32 (int const* base_addr, __m128i vindex, const int scale)
@@ -1889,49 +1889,49 @@ namespace System.Runtime.Intrinsics.X86
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<sbyte> InsertVector128(Vector256<sbyte> value, Vector128<sbyte> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<sbyte> InsertVector128(Vector256<sbyte> value, Vector128<sbyte> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<byte> InsertVector128(Vector256<byte> value, Vector128<byte> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<byte> InsertVector128(Vector256<byte> value, Vector128<byte> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<short> InsertVector128(Vector256<short> value, Vector128<short> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<short> InsertVector128(Vector256<short> value, Vector128<short> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<ushort> InsertVector128(Vector256<ushort> value, Vector128<ushort> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<ushort> InsertVector128(Vector256<ushort> value, Vector128<ushort> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<int> InsertVector128(Vector256<int> value, Vector128<int> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<int> InsertVector128(Vector256<int> value, Vector128<int> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<uint> InsertVector128(Vector256<uint> value, Vector128<uint> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<uint> InsertVector128(Vector256<uint> value, Vector128<uint> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<long> InsertVector128(Vector256<long> value, Vector128<long> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<long> InsertVector128(Vector256<long> value, Vector128<long> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_inserti128_si256 (__m256i a, __m128i b, const int imm8)
/// VINSERTI128 ymm, ymm, xmm, imm8
/// </summary>
- public new static Vector256<ulong> InsertVector128(Vector256<ulong> value, Vector128<ulong> data, byte index) => InsertVector128(value, data, index);
+ public static new Vector256<ulong> InsertVector128(Vector256<ulong> value, Vector128<ulong> data, byte index) => InsertVector128(value, data, index);
/// <summary>
/// __m256i _mm256_stream_load_si256 (__m256i const* mem_addr)
@@ -2265,42 +2265,42 @@ namespace System.Runtime.Intrinsics.X86
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<sbyte> Permute2x128(Vector256<sbyte> left, Vector256<sbyte> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<sbyte> Permute2x128(Vector256<sbyte> left, Vector256<sbyte> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<byte> Permute2x128(Vector256<byte> left, Vector256<byte> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<byte> Permute2x128(Vector256<byte> left, Vector256<byte> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<short> Permute2x128(Vector256<short> left, Vector256<short> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<short> Permute2x128(Vector256<short> left, Vector256<short> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<ushort> Permute2x128(Vector256<ushort> left, Vector256<ushort> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<ushort> Permute2x128(Vector256<ushort> left, Vector256<ushort> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<int> Permute2x128(Vector256<int> left, Vector256<int> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<int> Permute2x128(Vector256<int> left, Vector256<int> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<uint> Permute2x128(Vector256<uint> left, Vector256<uint> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<uint> Permute2x128(Vector256<uint> left, Vector256<uint> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<long> Permute2x128(Vector256<long> left, Vector256<long> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<long> Permute2x128(Vector256<long> left, Vector256<long> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute2x128_si256 (__m256i a, __m256i b, const int imm8)
/// VPERM2I128 ymm, ymm, ymm/m256, imm8
/// </summary>
- public new static Vector256<ulong> Permute2x128(Vector256<ulong> left, Vector256<ulong> right, byte control) => Permute2x128(left, right, control);
+ public static new Vector256<ulong> Permute2x128(Vector256<ulong> left, Vector256<ulong> right, byte control) => Permute2x128(left, right, control);
/// <summary>
/// __m256i _mm256_permute4x64_epi64 (__m256i a, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
index ba97bbb053d..1899b6b530c 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Fma() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m128 _mm_fmadd_ps (__m128 a, __m128 b, __m128 c)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
index ed01805de7b..6bbf6a9e1d8 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Fma.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Fma() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m128 _mm_fmadd_ps (__m128 a, __m128 b, __m128 c)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
index c32a7e7da2b..53ae9d09cd9 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Pclmulqdq() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m128i _mm_clmulepi64_si128 (__m128i a, __m128i b, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
index 332934befc7..29104b9d242 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Pclmulqdq.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Pclmulqdq() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m128i _mm_clmulepi64_si128 (__m128i a, __m128i b, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
index d39692432eb..d85ee3877c4 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.PlatformNotSupported.cs
@@ -15,13 +15,13 @@ namespace System.Runtime.Intrinsics.X86
{
internal Popcnt() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
public new abstract class X64 : Sse41.X64
{
internal X64() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __int64 _mm_popcnt_u64 (unsigned __int64 a)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
index c262e996712..af918e92d9c 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Popcnt.cs
@@ -17,13 +17,13 @@ namespace System.Runtime.Intrinsics.X86
{
internal Popcnt() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
[Intrinsic]
public new abstract class X64 : Sse41.X64
{
internal X64() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __int64 _mm_popcnt_u64 (unsigned __int64 a)
/// POPCNT reg64, reg/m64
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
index 6ccf7b0a6c1..df46013a29b 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.PlatformNotSupported.cs
@@ -16,13 +16,13 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse2() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
public new abstract class X64 : Sse.X64
{
internal X64() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __int64 _mm_cvtsd_si64 (__m128d a)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
index 4d4de6e30be..47583b0aae6 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse2.cs
@@ -17,14 +17,14 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse2() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
[Intrinsic]
public new abstract class X64 : Sse.X64
{
internal X64() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __int64 _mm_cvtsd_si64 (__m128d a)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
index 40b810ddd9e..8e238c232b7 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse3() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m128 _mm_addsub_ps (__m128 a, __m128 b)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
index 9b971b83b3a..6cbf3ae5232 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse3.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse3() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m128 _mm_addsub_ps (__m128 a, __m128 b)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
index ee162d2b626..c992e9bebc2 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.PlatformNotSupported.cs
@@ -16,13 +16,13 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse41() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
public new abstract class X64 : Sse2.X64
{
internal X64() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __int64 _mm_extract_epi64 (__m128i a, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
index 36d70021cd1..9d78feb6359 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse41.cs
@@ -17,14 +17,14 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse41() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
[Intrinsic]
public new abstract class X64 : Sse2.X64
{
internal X64() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __int64 _mm_extract_epi64 (__m128i a, const int imm8)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
index f07a7927252..0b40ae14e33 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.PlatformNotSupported.cs
@@ -16,13 +16,13 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse42() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
public new abstract class X64 : Sse41.X64
{
internal X64() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// unsigned __int64 _mm_crc32_u64 (unsigned __int64 crc, unsigned __int64 v)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
index 9db76c8916b..c2318fd113e 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Sse42.cs
@@ -17,14 +17,14 @@ namespace System.Runtime.Intrinsics.X86
{
internal Sse42() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
[Intrinsic]
public new abstract class X64 : Sse41.X64
{
internal X64() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// unsigned __int64 _mm_crc32_u64 (unsigned __int64 crc, unsigned __int64 v)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
index 37c404b7018..ed02211642f 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.PlatformNotSupported.cs
@@ -16,7 +16,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Ssse3() { }
- public new static bool IsSupported { [Intrinsic] get { return false; } }
+ public static new bool IsSupported { [Intrinsic] get { return false; } }
/// <summary>
/// __m128i _mm_abs_epi8 (__m128i a)
diff --git a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
index 0cb59a2115b..eda455c2f95 100644
--- a/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Runtime/Intrinsics/X86/Ssse3.cs
@@ -17,7 +17,7 @@ namespace System.Runtime.Intrinsics.X86
{
internal Ssse3() { }
- public new static bool IsSupported { get => IsSupported; }
+ public static new bool IsSupported { get => IsSupported; }
/// <summary>
/// __m128i _mm_abs_epi8 (__m128i a)
diff --git a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
index 48a5ee4a069..63df9ef6b57 100644
--- a/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
+++ b/netcore/System.Private.CoreLib/shared/System/Threading/Tasks/Future.cs
@@ -504,7 +504,7 @@ namespace System.Threading.Tasks
/// of <see cref="System.Threading.Tasks.TaskFactory{TResult}"/>, as would result from using
/// the default constructor on the factory type.
/// </remarks>
- public new static TaskFactory<TResult> Factory { get { return s_Factory; } }
+ public static new TaskFactory<TResult> Factory { get { return s_Factory; } }
/// <summary>
/// Evaluates the value selector of the Task which is passed in as an object and stores the result.