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); 3337Error(diagnostics, ErrorCode.ERR_NamedArgumentSpecificationBeforeFixedArgument, argumentSyntax, 4429Error(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); 1886Error(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol); 2737Error(diagnostics, ErrorCode.ERR_BadOpOnNullOrDefaultOrNew, node, operatorText, operand.Display); 2888Error(diagnostics, ErrorCode.WRN_CompileTimeCheckedOverflow, syntax, resultTypeSymbol); 3182Error(diagnostics, ErrorCode.ERR_BadUnaryOp, node, SyntaxFacts.GetText(SyntaxKind.IsKeyword), operand.Display); 3206Error(diagnostics, ErrorCode.WRN_StaticInAsOrIs, node, targetType); 3371Error(diagnostics, ErrorCode.ERR_BadBinaryOps, syntax, "is", operandType, targetType); 3378Error(diagnostics, errorCode, syntax, targetType); 3897Error(diagnostics, ErrorCode.ERR_NoExplicitBuiltinConv, node, distinguisher.First, distinguisher.Second); 3930Error(diagnostics, ErrorCode.ERR_BadBinaryOps, node, "as", operandType, targetType); 3935Error(diagnostics, ErrorCode.WRN_AlwaysNull, node, targetType);
Binder\Binder_Statements.cs (1)
901Error(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableAssignedBadValue, errorSyntax, expression.Display);