Skip to content

Commit

Permalink
Use read-only auto-implemented property (#44677)
Browse files Browse the repository at this point in the history
* Use read-only auto-implemented property in src\libraries\Common

Use read-only auto-implemented property (RCS1170)

https://github.com/JosefPihrt/Roslynator/blob/master/docs/analyzers/RCS1170.md

* Revert changes except to ComEventsMethod
  • Loading branch information
xtqqczze authored Nov 18, 2020
1 parent 1e8adf2 commit 04ad427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public DelegateWrapper(Delegate d, bool wrapArgs)

public Delegate Delegate { get; set; }

public bool WrapArgs { get; private set; }
public bool WrapArgs { get; }

public object? Invoke(object[] args)
{
Expand Down

0 comments on commit 04ad427

Please sign in to comment.