summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2019-06-06 10:09:05 -0700
committerStephen Toub <stoub@microsoft.com>2019-06-06 13:09:05 -0400
commita826373dd4453c6a0f8f51622fa29ce71064cbec (patch)
tree14cea99cb24ed96c81119e645fc5e8ee28424c07
parent53fc9518b7f1231888e2559b6f612181b4e1b697 (diff)
downloadcoreclr-a826373dd4453c6a0f8f51622fa29ce71064cbec.tar.gz
coreclr-a826373dd4453c6a0f8f51622fa29ce71064cbec.tar.bz2
coreclr-a826373dd4453c6a0f8f51622fa29ce71064cbec.zip
Delete unnecessary security transparency attributes (#25007)
-rw-r--r--src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
index 7ae8015326..897de6e27d 100644
--- a/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
+++ b/src/System.Private.CoreLib/shared/System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs
@@ -96,7 +96,6 @@ namespace System.Runtime.CompilerServices
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
/// <param name="awaiter">The awaiter.</param>
/// <param name="stateMachine">The state machine.</param>
- [SecuritySafeCritical]
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
where TAwaiter : ICriticalNotifyCompletion
where TStateMachine : IAsyncStateMachine
@@ -199,7 +198,6 @@ namespace System.Runtime.CompilerServices
/// <typeparam name="TStateMachine">The type of the state machine.</typeparam>
/// <param name="awaiter">the awaiter</param>
/// <param name="stateMachine">The state machine.</param>
- [SecuritySafeCritical]
public void AwaitUnsafeOnCompleted<TAwaiter, TStateMachine>(ref TAwaiter awaiter, ref TStateMachine stateMachine)
where TAwaiter : ICriticalNotifyCompletion
where TStateMachine : IAsyncStateMachine