Thanks Hans Passant for comment. Solution available at this link: https://developercommunity.visualstudio.com/t/unused-private-member-IDE0051-fading-e/10781612
To disable the rule for your entire project, add the following to your
.editorconfig file:
[*.{cs,vb}] dotnet_diagnostic.IDE0051.severity = none