21 references to Error
Microsoft.CodeAnalysis.CSharp (21)
Binder\Binder_AnonymousTypes.cs (1)
250
Error
(diagnostics, ErrorCode.ERR_AnonymousTypePropertyAssignedBadValue, errorSyntax, errorArg);
Binder\Binder_Attributes.cs (1)
407
Error
(diagnostics, ErrorCode.ERR_BadAttributeParamType, syntax, parameter.Name, paramType.Type);
Binder\Binder_Expressions.cs (3)
1372
Error
(diagnostics, ErrorCode.ERR_SpecialByRefInLambda, node, runtimeArgumentHandleType);
3460
Error
(diagnostics, ErrorCode.ERR_NamedArgumentSpecificationBeforeFixedArgument, argumentSyntax,
4569
Error
(diagnostics, ErrorCode.ERR_BadIndexCount, nonNullSyntax, type.Rank);
Binder\Binder_Operators.cs (15)
1301
Error
(diagnostics, errorCode, node, operatorName, operand.Display);
1774
Error
(diagnostics, ErrorCode.ERR_BadBoolOp, syntax, signature.Method);
1813
Error
(diagnostics, ErrorCode.ERR_MustHaveOpTF, syntax, signature.Method, t);
1935
Error
(diagnostics, ErrorCode.ERR_BadBoolOp, syntax, signature.Method);
1965
Error
(diagnostics, ErrorCode.ERR_MustHaveOpTF, syntax, signature.Method, extensionContainingType);
2852
Error
(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol);
4330
Error
(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.Display);
4486
Error
(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol);
4780
Error
(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.Display);
4804
Error
(diagnostics, ErrorCode.WRN_StaticInAsOrIs, node, targetType);
5018
Error
(diagnostics, ErrorCode.ERR_BadBinaryOps, syntax, "is", operandType, targetType);
5025
Error
(diagnostics, errorCode, syntax, targetType);
5545
Error
(diagnostics, ErrorCode.ERR_NoExplicitBuiltinConv, node, distinguisher.First, distinguisher.Second);
5578
Error
(diagnostics, ErrorCode.ERR_BadBinaryOps, node, "as", operandType, targetType);
5583
Error
(diagnostics, ErrorCode.WRN_AlwaysNull, node, targetType);
Binder\Binder_Statements.cs (1)
908
Error
(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.Display);