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