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