8 references to conversionError
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (8)
2088conversionError(diagnostics, ErrorCode.ERR_CannotInferDelegateType);
2096conversionError(diagnostics, ErrorCode.ERR_AnonMethToNonDel, id, targetType);
2103conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
2110conversionError(diagnostics, ErrorCode.ERR_AnonymousMethodToExpressionTree);
2116conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethReturnType, id, targetType);
2142conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethNoParams, targetType);
2154conversionError(diagnostics, ErrorCode.ERR_BadDelArgCount, delegateType, anonymousFunction.ParameterCount);
2231conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethParams, id, targetType);