Explorar o código

apply SecuritySafeCritical attribute

Jan Tattermusch %!s(int64=5) %!d(string=hai) anos
pai
achega
c17af44172
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      csharp/src/Google.Protobuf/CodedOutputStream.cs

+ 1 - 0
csharp/src/Google.Protobuf/CodedOutputStream.cs

@@ -56,6 +56,7 @@ namespace Google.Protobuf
     /// and <c>MapField&lt;TKey, TValue&gt;</c> to serialize such fields.
     /// </para>
     /// </remarks>
+    [SecuritySafeCritical]
     public sealed partial class CodedOutputStream : IDisposable
     {
         // "Local" copy of Encoding.UTF8, for efficiency. (Yes, it makes a difference.)