Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 29fb468

Browse files
Remove SuppressGCTransition attribute from SPCL
1 parent 958ce23 commit 29fb468

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcessId.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ internal static partial class Interop
99
internal static partial class Kernel32
1010
{
1111
[DllImport(Libraries.Kernel32)]
12-
[SuppressGCTransition]
1312
internal static extern uint GetCurrentProcessId();
1413
}
1514

src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentThreadId.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ internal static partial class Interop
1010
internal static partial class Kernel32
1111
{
1212
[DllImport(Libraries.Kernel32, ExactSpelling = true)]
13-
[SuppressGCTransition]
1413
public static extern int GetCurrentThreadId();
1514
}
1615
}

src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetStdHandle.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ internal static partial class Interop
1010
internal static partial class Kernel32
1111
{
1212
[DllImport(Libraries.Kernel32)]
13-
[SuppressGCTransition]
1413
internal static extern IntPtr GetStdHandle(int nStdHandle); // param is NOT a handle, but it returns one!
1514
}
1615
}

src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.SetThreadErrorMode.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ internal static partial class Interop
99
internal static partial class Kernel32
1010
{
1111
[DllImport(Libraries.Kernel32, SetLastError = true, ExactSpelling = true)]
12-
[SuppressGCTransition]
1312
internal static extern bool SetThreadErrorMode(uint dwNewMode, out uint lpOldMode);
1413

1514
internal const uint SEM_FAILCRITICALERRORS = 1;

0 commit comments

Comments
 (0)