Delete SuppressUnmanagedCodeSecurity on QCalls
authorJan Kotas <jkotas@microsoft.com>
Sun, 19 Nov 2017 13:49:08 +0000 (05:49 -0800)
committerJan Kotas <jkotas@microsoft.com>
Sun, 19 Nov 2017 13:49:08 +0000 (05:49 -0800)
Documentation/botr/mscorlib.md

index 8086124..d5fc85e 100644 (file)
@@ -82,10 +82,8 @@ Do not replicate the comments into your actual QCall implementation. This is for
 
        class Foo
        {
-           // All QCalls should have the following DllImport and
-           // SuppressUnmanagedCodeSecurity attributes
+           // All QCalls should have the following DllImport attribute
            [DllImport(JitHelpers.QCall, CharSet = CharSet.Unicode)]
-           [SuppressUnmanagedCodeSecurity]
            // QCalls should always be static extern.
            private static extern bool Bar(int flags, string inString, StringHandleOnStack retString);