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