8 references to Error
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder.cs (1)
570
Error
(diagnostics, code, location, args);
Binder\Binder_Statements.cs (5)
2159
Error
(diagnostics, ErrorFacts.GetStaticClassParameterCode(useWarning: false), anonymousFunction.ParameterLocation(i), delegateParameters[i].Type);
2224
=>
Error
(diagnostics, code, GetAnonymousFunctionLocation(syntax), args);
2497
Error
(diagnostics, errorCode, location, methodGroup.Name, targetType);
3382
Error
(diagnostics, ErrorCode.ERR_CantConvAsyncAnonFuncReturns,
3389
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);