From 3bca01ad742767953de01cb2dc054b374e64cd66 Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Wed, 14 Oct 2015 09:28:25 -0700 Subject: [PATCH] Add SecurityTransparentAttribute to System.Collections.Immutable Fix #3293 Fix #1512 --- .../src/Properties/InternalsVisibleTo.cs | 3 --- .../src/Properties/SecurityTransparent.cs | 6 ++++++ .../src/System.Collections.Immutable.csproj | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/System.Collections.Immutable/src/Properties/SecurityTransparent.cs diff --git a/src/System.Collections.Immutable/src/Properties/InternalsVisibleTo.cs b/src/System.Collections.Immutable/src/Properties/InternalsVisibleTo.cs index 37a19b97a35b..58bffd95c6b3 100644 --- a/src/System.Collections.Immutable/src/Properties/InternalsVisibleTo.cs +++ b/src/System.Collections.Immutable/src/Properties/InternalsVisibleTo.cs @@ -1,8 +1,5 @@ // Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. -//------------------------------------------------------------ - -//------------------------------------------------------------ using System.Runtime.CompilerServices; diff --git a/src/System.Collections.Immutable/src/Properties/SecurityTransparent.cs b/src/System.Collections.Immutable/src/Properties/SecurityTransparent.cs new file mode 100644 index 000000000000..d785e5e3c0d9 --- /dev/null +++ b/src/System.Collections.Immutable/src/Properties/SecurityTransparent.cs @@ -0,0 +1,6 @@ +// Copyright (c) Microsoft. All rights reserved. +// Licensed under the MIT license. See LICENSE file in the project root for full license information. + +using System.Security; + +[assembly: SecurityTransparent] diff --git a/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj b/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj index 29e34f6b8020..a4f7175a6da2 100644 --- a/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj +++ b/src/System.Collections.Immutable/src/System.Collections.Immutable.csproj @@ -36,6 +36,7 @@ +