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
Change PermissionSet.SyncRoot to return this instead of null (#23631)
Browse files Browse the repository at this point in the history
  • Loading branch information
krwq authored and jkotas committed Apr 1, 2019
1 parent 13bc9b7 commit 5cd9a8d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public PermissionSet(PermissionSet permSet) { }
public virtual int Count { get { return 0; } }
public virtual bool IsReadOnly { get { return false; } }
public virtual bool IsSynchronized { get { return false; } }
public virtual object SyncRoot { get { return null; } }
public virtual object SyncRoot { get { return this; } }
public IPermission AddPermission(IPermission perm) { return AddPermissionImpl(perm); }
protected virtual IPermission AddPermissionImpl(IPermission perm) { return default(IPermission); }
public void Assert() { }
Expand Down

0 comments on commit 5cd9a8d

Please sign in to comment.