Nlog: Mark RequiredParameterAttribute with MeansImplicitUseAttribute attribute

Created on 8 Oct 2018  路  3Comments  路  Source: NLog/NLog

NLog version: 4.5.0

Platform: .Net 4.7.1

Current issue: ReSharper thinks that properties marked with RequiredParameter are not used, which is completely wrong (see documentation page).

What do I need: help ReSharper to understand, that property (e.g. marked with attribute RequiredParameter) is used from reflection.

Two tasks:

enhancement up-for-grabs

Most helpful comment

Maybe also update DefaultParameterAttribute to be with MeansImplicitUseAttribute

All 3 comments

Yes, that would be great if you could do a PR for the two tasks 馃懠

Maybe also update DefaultParameterAttribute to be with MeansImplicitUseAttribute

Ok, will apply on these attributes first (will try on the next weekends). Then will try to find other attributes for improvement

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smeegoan picture smeegoan  路  3Comments

Sam13 picture Sam13  路  3Comments

npandrei picture npandrei  路  3Comments

ericnewton76 picture ericnewton76  路  3Comments

FaMouZx3 picture FaMouZx3  路  3Comments