Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 735 Bytes

RCS1187: Use constant instead of field

Property Value
Id RCS1187
Category Design
Default Severity Info
Enabled by Default
Supports Fade-Out -
Supports Fade-Out Analyzer -


Code with Diagnostic

private static readonly int _foo = 0; // RCS1187

Code with Fix

private const int _foo = 0;

See Also

(Generated with DotMarkdown)