diff options
author | Jon Skeet <jonskeet@google.com> | 2015-08-03 11:24:17 +0100 |
---|---|---|
committer | Jon Skeet <jonskeet@google.com> | 2015-08-03 11:24:17 +0100 |
commit | e94bdd9303db0ffba6fc380f3e5f138af91ff6be (patch) | |
tree | 7d82f8049062078b0dd40a9109684ac1920daf4c /csharp/src/Google.Protobuf/Properties | |
parent | bf1cc9217a486cf68c2705d4f307fddb73291004 (diff) | |
download | protobuf-e94bdd9303db0ffba6fc380f3e5f138af91ff6be.tar.gz protobuf-e94bdd9303db0ffba6fc380f3e5f138af91ff6be.tar.bz2 protobuf-e94bdd9303db0ffba6fc380f3e5f138af91ff6be.zip |
Allow partially-trusted callers again.
Fixes issue #552. (And yay, it looks like our build profile supports this...)
Diffstat (limited to 'csharp/src/Google.Protobuf/Properties')
-rw-r--r-- | csharp/src/Google.Protobuf/Properties/AssemblyInfo.cs | 2 |
1 files changed, 2 insertions, 0 deletions
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=" +
|