17 references to ERR_RefLocalOrParamExpected
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (16)
771if (errorCode is ErrorCode.ERR_InvalidAddrOp or ErrorCode.ERR_RefLocalOrParamExpected)
807Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
819Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
844Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
930Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
957Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
981Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
1002if (errorCode is ErrorCode.ERR_InvalidAddrOp or ErrorCode.ERR_IncrementLvalueExpected or ErrorCode.ERR_RefReturnThis or ErrorCode.ERR_RefLocalOrParamExpected or ErrorCode.ERR_RefLvalueExpected)
1071diagnostics.Add(ErrorCode.ERR_RefLocalOrParamExpected, node.Location);
1149Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
1391Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
1691Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
1859Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node);
3147return ErrorCode.ERR_RefLocalOrParamExpected;
3175return ErrorCode.ERR_RefLocalOrParamExpected;
3219return ErrorCode.ERR_RefLocalOrParamExpected;