Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 619 Bytes

File metadata and controls

20 lines (14 loc) · 619 Bytes

AL1201: Use HasAttribute extension

Property Value
Severity Info
Category Roslyn Utilities
Code fix No
Analyzer Al1201UseHasAttributeAnalyzer
Enabled by default Yes

Description

Use HasAttribute extension instead of GetAttributes() LINQ queries or foreach loops for cleaner attribute checking.

See also