Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/mscorlib/Common/PinnableBufferCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ internal sealed class PinnableBufferCache
/// This is only used in mscorlib.
/// </summary>
#if (ENABLE || MINBUFFERS)
#pragma warning disable 618
[EnvironmentPermission(SecurityAction.Assert, Unrestricted = true)]
#pragma warning restore 618
[System.Security.SecuritySafeCritical]
#endif
internal PinnableBufferCache(string cacheName, Func<object> factory)
Expand Down