Table of Contents

GR0025: Do not use ToString() on an enum value.

TitleDo not use ToString() on an enum value.
IdGR0025
CategoryPerformance
Default SeverityWarning
Enabled By DefaultTrue
Descriptionnameof() operator can be used instead of ToString method on an enum value.
Custom Tags