8 references to conversionError
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (8)
2045conversionError(diagnostics, ErrorCode.ERR_CannotInferDelegateType);
2053conversionError(diagnostics, ErrorCode.ERR_AnonMethToNonDel, id, targetType);
2060conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
2067conversionError(diagnostics, ErrorCode.ERR_AnonymousMethodToExpressionTree);
2073conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethReturnType, id, targetType);
2099conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethNoParams, targetType);
2111conversionError(diagnostics, ErrorCode.ERR_BadDelArgCount, delegateType, anonymousFunction.ParameterCount);
2170conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethParams, id, targetType);