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