14 references to AddDiagnostic
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
324AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected);
615AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget);
990AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel);
1386AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected);
1470AddDiagnostic(diagnostics, ErrorCode.ERR_NoOutputDirectory);
1485AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb);
1495AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb);
1700AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName);
1740AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule);
1882AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget);
2000AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference);
2018AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon);
2023AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest);
2029AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);