11 references to Add
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\BoundTreeVisitors.cs (1)
175diagnostics.Add(ErrorCode.ERR_InsufficientStack, GetTooLongOrComplexExpressionErrorLocation(Node));
Compilation\CSharpCompilation.cs (1)
530diagnostics.Add(ErrorCode.ERR_DebugEntryPointNotSourceMethodDefinition, Location.None);
FlowAnalysis\AbstractFlowPass.cs (1)
898Diagnostics.Add(ErrorCode.ERR_InternalError, node.Syntax.Location);
FlowAnalysis\ControlFlowPass.cs (2)
351Diagnostics.Add(ErrorCode.ERR_GoToForwardJumpOverUsingVar, sourceLocation); 363Diagnostics.Add(ErrorCode.ERR_GoToBackwardJumpOverUsingVar, sourceLocation);
FlowAnalysis\DefiniteAssignment.cs (2)
412Diagnostics.Add(ErrorCode.WRN_AsyncLacksAwaits, diagnosticLocation); 1295Diagnostics.Add(ErrorCode.WRN_UseDefViolationThisSupportedVersion, node.Location);
Symbols\Source\LocalFunctionSymbol.cs (1)
77_declarationDiagnostics.Add(ErrorCode.ERR_BadExtensionAgg, GetFirstLocation());
Symbols\Source\ModifierUtils.cs (1)
413diagnostics.Add(
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
667diagnostics.Add(ErrorCode.WRN_GlobalAliasDefn, location); 672diagnostics.Add(ErrorCode.ERR_NoAliasHere, location);