14 references to AddDiagnostic
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
323AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 602AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 977AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel); 1373AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 1452AddDiagnostic(diagnostics, ErrorCode.ERR_NoOutputDirectory); 1467AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb); 1477AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb); 1682AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName); 1722AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule); 1864AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 1982AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference); 2000AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon); 2005AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest); 2011AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);