8 references to conversionError
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (8)
2083conversionError(diagnostics, ErrorCode.ERR_CannotInferDelegateType);
2091conversionError(diagnostics, ErrorCode.ERR_AnonMethToNonDel, id, targetType);
2098conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
2105conversionError(diagnostics, ErrorCode.ERR_AnonymousMethodToExpressionTree);
2111conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethReturnType, id, targetType);
2137conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethNoParams, targetType);
2149conversionError(diagnostics, ErrorCode.ERR_BadDelArgCount, delegateType, anonymousFunction.ParameterCount);
2226conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethParams, id, targetType);