14 references to AddDiagnostic
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
306AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 585AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 960AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel); 1356AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 1435AddDiagnostic(diagnostics, ErrorCode.ERR_NoOutputDirectory); 1450AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb); 1460AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb); 1665AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName); 1705AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule); 1847AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 1965AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference); 1983AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon); 1988AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest); 1994AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);