CS0201
Property | Value |
---|---|
Title | Only assignment, call, increment, decrement, and new object expressions can be used as a statement. |
Severity | Error |
Code Fixes
- Add argument list
- Change member type according to return expression
- Introduce field
- Introduce local variable
- Remove parentheses
- Replace comparison with assignment
- Replace conditional expression with if-else