projects
/
platform
/
upstream
/
coreclr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13c844
)
Fix inconsistent security annotations
author
Jan Kotas
<jkotas@microsoft.com>
Thu, 12 Nov 2015 22:31:18 +0000
(14:31 -0800)
committer
Jan Kotas
<jkotas@microsoft.com>
Thu, 12 Nov 2015 22:31:18 +0000
(14:31 -0800)
[tfs-changeset: 1547876]
src/mscorlib/src/System/Threading/Tasks/Task.cs
patch
|
blob
|
history
diff --git
a/src/mscorlib/src/System/Threading/Tasks/Task.cs
b/src/mscorlib/src/System/Threading/Tasks/Task.cs
index
2194300
..
a1da093
100644
(file)
--- a/
src/mscorlib/src/System/Threading/Tasks/Task.cs
+++ b/
src/mscorlib/src/System/Threading/Tasks/Task.cs
@@
-6676,12
+6676,14
@@
namespace System.Threading.Tasks
m_completingTask = completingTask;
}
- public void ExecuteWorkItem()
+ [SecurityCritical]
+ void IThreadPoolWorkItem.ExecuteWorkItem()
{
m_action.Invoke(m_completingTask);
}
- public void MarkAborted(ThreadAbortException tae)
+ [SecurityCritical]
+ void IThreadPoolWorkItem.MarkAborted(ThreadAbortException tae)
{
/* NOP */
}