14 references to AddDiagnostic
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
324AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 616AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 991AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel); 1387AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 1471AddDiagnostic(diagnostics, ErrorCode.ERR_NoOutputDirectory); 1486AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb); 1496AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb); 1701AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName); 1741AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule); 1883AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 2001AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference); 2019AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon); 2024AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest); 2030AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);