17 references to ERR_RefLocalOrParamExpected
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (16)
748if (errorCode is ErrorCode.ERR_InvalidAddrOp or ErrorCode.ERR_RefLocalOrParamExpected) 784Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 796Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 821Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 907Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 934Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 958Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 979if (errorCode is ErrorCode.ERR_InvalidAddrOp or ErrorCode.ERR_IncrementLvalueExpected or ErrorCode.ERR_RefReturnThis or ErrorCode.ERR_RefLocalOrParamExpected or ErrorCode.ERR_RefLvalueExpected) 1048diagnostics.Add(ErrorCode.ERR_RefLocalOrParamExpected, node.Location); 1126Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 1368Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 1668Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 1836Error(diagnostics, ErrorCode.ERR_RefLocalOrParamExpected, node); 3124return ErrorCode.ERR_RefLocalOrParamExpected; 3152return ErrorCode.ERR_RefLocalOrParamExpected; 3196return ErrorCode.ERR_RefLocalOrParamExpected;
Errors\ErrorFacts.cs (1)
1871or ErrorCode.ERR_RefLocalOrParamExpected