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

Commit

Permalink
PermissionSet: follow netfx more in order to avoid workarounds with n…
Browse files Browse the repository at this point in the history
…ullable (#23637)

Signed-off-by: dotnet-bot <[email protected]>
  • Loading branch information
krwq authored and jkotas committed Apr 2, 2019
1 parent 40bbdd9 commit 60c425a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Common/src/CoreLib/System/Security/PermissionSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public PermissionSet(PermissionSet permSet) { }
public void Assert() { }
public bool ContainsNonCodeAccessPermissions() { return false; }
[Obsolete]
public static byte[] ConvertPermissionSet(string inFormat, byte[] inData, string outFormat) { return null; }
public virtual PermissionSet Copy() { return default(PermissionSet); }
public static byte[] ConvertPermissionSet(string inFormat, byte[] inData, string outFormat) { throw new NotImplementedException(); }
public virtual PermissionSet Copy() { return new PermissionSet(this); }
public virtual void CopyTo(Array array, int index) { }
public void Demand() { }
[Obsolete]
Expand Down

0 comments on commit 60c425a

Please sign in to comment.