19 references to Error
Microsoft.CodeAnalysis.CSharp (19)
Binder\Binder_AnonymousTypes.cs (1)
250
Error
(diagnostics, ErrorCode.ERR_AnonymousTypePropertyAssignedBadValue, errorSyntax, errorArg);
Binder\Binder_Attributes.cs (1)
405
Error
(diagnostics, ErrorCode.ERR_BadAttributeParamType, syntax, parameter.Name, paramType.Type);
Binder\Binder_Expressions.cs (3)
1333
Error
(diagnostics, ErrorCode.ERR_SpecialByRefInLambda, node, runtimeArgumentHandleType);
3334
Error
(diagnostics, ErrorCode.ERR_NamedArgumentSpecificationBeforeFixedArgument, argumentSyntax,
4426
Error
(diagnostics, ErrorCode.ERR_BadIndexCount, nonNullSyntax, type.Rank);
Binder\Binder_Operators.cs (13)
809
Error
(diagnostics, errorCode, node, operatorName, operand.Display);
1168
Error
(diagnostics, ErrorCode.ERR_BadBoolOp, syntax, signature.Method);
1193
Error
(diagnostics, ErrorCode.ERR_MustHaveOpTF, syntax, signature.Method, t);
1881
Error
(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol);
2732
Error
(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.Display);
2883
Error
(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol);
3177
Error
(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.Display);
3201
Error
(diagnostics, ErrorCode.WRN_StaticInAsOrIs, node, targetType);
3366
Error
(diagnostics, ErrorCode.ERR_BadBinaryOps, syntax, "is", operandType, targetType);
3373
Error
(diagnostics, errorCode, syntax, targetType);
3892
Error
(diagnostics, ErrorCode.ERR_NoExplicitBuiltinConv, node, distinguisher.First, distinguisher.Second);
3925
Error
(diagnostics, ErrorCode.ERR_BadBinaryOps, node, "as", operandType, targetType);
3930
Error
(diagnostics, ErrorCode.WRN_AlwaysNull, node, targetType);
Binder\Binder_Statements.cs (1)
901
Error
(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.Display);