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