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)
1825
Error
(diagnostics, ErrorCode.ERR_IntDivByZero, syntax);
1864
Error
(diagnostics, ErrorCode.ERR_DecConstError, syntax);
1900
Error
(diagnostics, ErrorCode.ERR_CheckedOverflow, syntax);
2353
Error
(diagnostics, ErrorCode.ERR_VoidError, node);
2488
Error
(diagnostics, ErrorCode.ERR_PtrExpected, node);
2502
Error
(diagnostics, ErrorCode.ERR_VoidError, node);
2902
Error
(diagnostics, ErrorCode.ERR_CheckedOverflow, syntax);
3165
Error
(diagnostics, ErrorCode.ERR_LambdaInIsAs, node);
3207
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);