Code Analysis ReferenceFixesCS0131On this pageCS0131PropertyValueTitleThe left-hand side of an assignment must be a variable, property or indexer.SeverityErrorCode FixesRemove 'const' modifierSee AlsoOfficial Documentation