From afa95ac59db1f23c62972a86e3cae01e5a3466be Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Sun, 19 Nov 2017 05:49:08 -0800 Subject: [PATCH] Delete SuppressUnmanagedCodeSecurity on QCalls --- Documentation/botr/mscorlib.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/botr/mscorlib.md b/Documentation/botr/mscorlib.md index 808612414a98..d5fc85e5dd64 100644 --- a/Documentation/botr/mscorlib.md +++ b/Documentation/botr/mscorlib.md @@ -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);