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

JustArchi picture JustArchi  路  3Comments

Rapiiidooo picture Rapiiidooo  路  3Comments

ranjan-2209 picture ranjan-2209  路  3Comments

Jerefeny picture Jerefeny  路  3Comments

ErcinDedeoglu picture ErcinDedeoglu  路  3Comments