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