11 references to Error
Microsoft.CodeAnalysis.CSharp (11)
Binder\Binder.cs (1)
558Error(diagnostics, code, location);
Binder\Binder_Await.cs (5)
207Error(diagnostics, ErrorCode.ERR_AwaitInUnsafeContext, location); 212Error(diagnostics, ErrorCode.ERR_BadAwaitInLock, location); 217Error(diagnostics, ErrorCode.ERR_BadAwaitInCatchFilter, location); 223Error(diagnostics, ErrorCode.ERR_BadAwaitInFinally, location); 229Error(diagnostics, ErrorCode.ERR_BadAwaitInCatch, location);
Binder\Binder_Constraints.cs (1)
579Error(diagnostics, ErrorCode.ERR_BadConstraintType, syntax.GetLocation());
Binder\Binder_Conversions.cs (1)
1363Error(diagnostics, ErrorCode.ERR_CannotUseReducedExtensionMethodInAddressOf, errorLocation);
Binder\Binder_Statements.cs (2)
2432Error(diagnostics, ErrorCode.ERR_MissingAddressOf, location); 2450Error(diagnostics, ErrorCode.ERR_CannotInferDelegateType, location);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3180Binder.Error(diagnostics, ErrorCode.ERR_SimpleProgramMultipleUnitsWithTopLevelStatements, singleDecl.NameLocation);