We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444dc32 commit 9b4ef0dCopy full SHA for 9b4ef0d
docs/csharp/misc/cs0131.md
@@ -24,7 +24,7 @@ The left-hand side of an assignment must be a variable, property or indexer
24
// CS0131.cs
25
public class MyClass
26
{
27
- public int i = 0;
+ public const int i = 0;
28
public void MyMethod()
29
30
i++ = 1; // CS0131
0 commit comments