12 references to SetPermission
mscorlib (4)
system\security\permissionset.cs (2)
1659
permSetTemp.
SetPermission
( perm );
1725
SetPermission
(newHpp);
system\security\policy\filecodegroup.cs (1)
126
permSet.
SetPermission
(new FileIOPermission(m_access, System.IO.Path.GetFullPath(directory)));
system\security\policy\policylevel.cs (1)
456
currentPSet.
SetPermission
(((IPermission)enumerator.Current).Copy());
System.Drawing (2)
commonui\System\Drawing\IntSecurity.cs (2)
66
temp.
SetPermission
(IntSecurity.UnmanagedCode);
67
temp.
SetPermission
(IntSecurity.AllPrinting);
System.Runtime.Remoting (2)
channels\sinks\binaryformattersinks.cs (1)
574
currentPermissionSet.
SetPermission
(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter));
channels\sinks\soapformattersinks.cs (1)
642
currentPermissionSet.
SetPermission
(new SecurityPermission(SecurityPermissionFlag.SerializationFormatter));
System.Windows.Forms (4)
winforms\Managed\System\WinForms\WinFormsSecurity.cs (4)
125
temp.
SetPermission
(IntSecurity.UnmanagedCode);
126
temp.
SetPermission
(IntSecurity.AllPrinting);
164
clipboardWrite.
SetPermission
(IntSecurity.UnmanagedCode);
165
clipboardWrite.
SetPermission
(IntSecurity.ClipboardOwn);