16 references to Error
Microsoft.CodeAnalysis.CSharp (16)
Binder\Binder_Expressions.cs (1)
1319
Error
(diagnostics, ErrorCode.ERR_ArgsInvalid, node);
Binder\Binder_Operators.cs (9)
1830
Error
(diagnostics, ErrorCode.ERR_IntDivByZero, syntax);
1869
Error
(diagnostics, ErrorCode.ERR_DecConstError, syntax);
1905
Error
(diagnostics, ErrorCode.ERR_CheckedOverflow, syntax);
2358
Error
(diagnostics, ErrorCode.ERR_VoidError, node);
2493
Error
(diagnostics, ErrorCode.ERR_PtrExpected, node);
2507
Error
(diagnostics, ErrorCode.ERR_VoidError, node);
2907
Error
(diagnostics, ErrorCode.ERR_CheckedOverflow, syntax);
3170
Error
(diagnostics, ErrorCode.ERR_LambdaInIsAs, node);
3212
Error
(diagnostics, ErrorCode.ERR_PointerInAsOrIs, node);
Binder\Binder_Statements.cs (6)
807
Error
(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableCannotBeConst, declarationNode);
831
Error
(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableMultipleDeclarator, declarationNode);
877
Error
(diagnostics, ErrorCode.ERR_ImplicitlyTypedVariableWithNoInitializer, errorSyntax);
922
Error
(diagnostics, ErrorCode.ERR_InitializeByValueVariableWithReference, node);
934
Error
(diagnostics, ErrorCode.ERR_ByReferenceVariableMustBeInitialized, node);
939
Error
(diagnostics, ErrorCode.ERR_InitializeByReferenceVariableWithValue, node);