2 implementations of Copy
mscorlib (2)
system\security\codeaccesspermission.cs (1)
227public abstract IPermission Copy();
system\security\permissions\principalpermission.cs (1)
433public IPermission Copy()
18 references to Copy
mscorlib (16)
system\security\framesecuritydescriptor.cs (1)
92permSet.AddPermission(perm.Copy());
system\security\permissions\environmentpermission.cs (1)
257return target.Copy();
system\security\permissions\fileiopermission.cs (1)
673return target.Copy();
system\security\permissions\isolatedstoragefilepermission.cs (1)
118return target.Copy();
system\security\permissions\principalpermission.cs (1)
282return target.Copy();
system\security\permissions\registrypermission.cs (1)
284return target.Copy();
system\security\permissionset.cs (7)
245m_permSet.SetItem(i, perm.Copy()); 876this.m_permSet.SetItem( i, otherPerm.Copy() ); 1038pset.m_permSet.SetItem( i, otherPerm.Copy() ); 1064pset.m_permSet.SetItem( i, thisPerm.Copy() ); 1192this.m_permSet.SetItem( i, otherPerm.Copy() ); 1310pset.m_permSet.SetItem( i, otherPerm.Copy() ); 1329pset.m_permSet.SetItem( i, thisPerm.Copy() );
system\security\policy\policylevel.cs (1)
456currentPSet.SetPermission(((IPermission)enumerator.Current).Copy());
system\security\readonlypermissionset.cs (2)
88return permission != null ? permission.Copy() : null; 146return currentPermission != null ? currentPermission.Copy() : null;
System.Data (2)
fx\src\data\System\Data\Common\DBDataPermission.cs (2)
149return target.Copy(); 230DBDataPermission newPermission = (DBDataPermission) target.Copy();