8 references to conversionError
Microsoft.CodeAnalysis.CSharp (8)
Binder\Binder_Statements.cs (8)
2048conversionError(diagnostics, ErrorCode.ERR_CannotInferDelegateType);
2056conversionError(diagnostics, ErrorCode.ERR_AnonMethToNonDel, id, targetType);
2063conversionError(diagnostics, ErrorCode.ERR_ExpressionTreeMustHaveDelegate, ((NamedTypeSymbol)targetType).TypeArgumentsWithAnnotationsNoUseSiteDiagnostics[0].Type);
2070conversionError(diagnostics, ErrorCode.ERR_AnonymousMethodToExpressionTree);
2076conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethReturnType, id, targetType);
2102conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethNoParams, targetType);
2114conversionError(diagnostics, ErrorCode.ERR_BadDelArgCount, delegateType, anonymousFunction.ParameterCount);
2173conversionError(diagnostics, ErrorCode.ERR_CantConvAnonMethParams, id, targetType);