8 references to Error
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.cs (1)
570
Error
(diagnostics, code, location, args);
Binder\Binder_Statements.cs (5)
2162
Error
(diagnostics, ErrorFacts.GetStaticClassParameterCode(useWarning: false), anonymousFunction.ParameterLocation(i), delegateParameters[i].Type);
2227
=>
Error
(diagnostics, code, GetAnonymousFunctionLocation(syntax), args);
2500
Error
(diagnostics, errorCode, location, methodGroup.Name, targetType);
3385
Error
(diagnostics, ErrorCode.ERR_CantConvAsyncAnonFuncReturns,
3392
Error
(diagnostics, ErrorCode.ERR_CantConvAnonMethReturns,
Binder\ExecutableCodeBinder.cs (2)
143
Error
(diagnostics, ErrorCode.ERR_BadIteratorReturnRef, errorLocation, iterator);
147
Error
(diagnostics, ErrorCode.ERR_BadIteratorReturn, errorLocation, iterator, returnType);