Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Delete SuppressUnmanagedCodeSecurity on QCalls
Browse files Browse the repository at this point in the history
  • Loading branch information
jkotas committed Nov 19, 2017
1 parent b9affb4 commit afa95ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Documentation/botr/mscorlib.md
Expand Up @@ -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);

Expand Down

0 comments on commit afa95ac

Please sign in to comment.