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