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

Commit

Permalink
Remove empty Threadpool .cctors
Browse files Browse the repository at this point in the history
  • Loading branch information
benaadams committed Feb 12, 2016
1 parent cb1effa commit 2cb0bfb
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/mscorlib/src/System/Threading/ThreadPool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,6 @@ internal static class ThreadPoolGlobals

[SecurityCritical]
public static ThreadPoolWorkQueue workQueue = new ThreadPoolWorkQueue();

[System.Security.SecuritySafeCritical] // static constructors should be safe to call
static ThreadPoolGlobals()
{
}
}

internal sealed class ThreadPoolWorkQueue
Expand Down Expand Up @@ -1168,9 +1163,6 @@ internal interface IThreadPoolWorkItem

internal sealed class QueueUserWorkItemCallback : IThreadPoolWorkItem
{
[System.Security.SecuritySafeCritical]
static QueueUserWorkItemCallback() {}

private WaitCallback callback;
private ExecutionContext context;
private Object state;
Expand Down Expand Up @@ -1263,9 +1255,6 @@ static private void WaitCallback_Context(Object state)

internal class _ThreadPoolWaitOrTimerCallback
{
[System.Security.SecuritySafeCritical]
static _ThreadPoolWaitOrTimerCallback() {}

WaitOrTimerCallback _waitOrTimerCallback;
ExecutionContext _executionContext;
Object _state;
Expand Down

0 comments on commit 2cb0bfb

Please sign in to comment.