Skip to content

Conversation

@jamesHargreaves12
Copy link
Contributor

@jamesHargreaves12 jamesHargreaves12 commented Aug 6, 2023

Changing a static field to a constant changes the meaning of that symbol in the decorators. For example, applying RCS1187 in the following example will lead to a compile-time error (CS0110):

    private static readonly LogLevel LogLevel = LogLevel.Information;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants