From a826373dd4453c6a0f8f51622fa29ce71064cbec Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Thu, 6 Jun 2019 10:09:05 -0700 Subject: Delete unnecessary security transparency attributes (#25007) --- .../System/Runtime/CompilerServices/AsyncValueTaskMethodBuilder.cs | 2 -- 1 file changed, 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 /// The type of the state machine. /// The awaiter. /// The state machine. - [SecuritySafeCritical] public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine @@ -199,7 +198,6 @@ namespace System.Runtime.CompilerServices /// The type of the state machine. /// the awaiter /// The state machine. - [SecuritySafeCritical] public void AwaitUnsafeOnCompleted(ref TAwaiter awaiter, ref TStateMachine stateMachine) where TAwaiter : ICriticalNotifyCompletion where TStateMachine : IAsyncStateMachine -- cgit v1.2.3