From e94bdd9303db0ffba6fc380f3e5f138af91ff6be Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Mon, 3 Aug 2015 11:24:17 +0100 Subject: Allow partially-trusted callers again. Fixes issue #552. (And yay, it looks like our build profile supports this...) --- csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs b/csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs index 73a78b01..9a484ad6 100644 --- a/csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs +++ b/csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs @@ -32,6 +32,7 @@ using System.Reflection; using System.Runtime.CompilerServices; +using System.Security; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information @@ -45,6 +46,7 @@ using System.Runtime.CompilerServices; [assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] +[assembly: AllowPartiallyTrustedCallers] #if SIGNED [assembly: InternalsVisibleTo("Google.Protobuf.Test, PublicKey=" + -- cgit v1.2.3