Skip to content

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 (dotnet#23637)

Signed-off-by: dotnet-bot <[email protected]>
  • Loading branch information
krwq authored and dotnet-bot committed Apr 2, 2019
1 parent 3ba07b2 commit 7f6fd8b
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 7f6fd8b

Please sign in to comment.