14 references to AddDiagnostic
Microsoft.CodeAnalysis.CSharp (14)
CommandLine\CSharpCommandLineParser.cs (14)
325AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 635AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 1010AddDiagnostic(diagnostics, ErrorCode.ERR_BadWarningLevel); 1406AddDiagnostic(diagnostics, ErrorCode.ERR_StdInOptionProvidedButConsoleInputIsNotRedirected); 1490AddDiagnostic(diagnostics, ErrorCode.ERR_NoOutputDirectory); 1505AddDiagnostic(diagnostics, ErrorCode.ERR_SourceLinkRequiresPdb); 1515AddDiagnostic(diagnostics, ErrorCode.ERR_CannotEmbedWithoutPdb); 1729AddDiagnostic(diagnostics, ErrorCode.ERR_OutputNeedsName); 1769AddDiagnostic(diagnostics, ErrorCode.ERR_AssemblyNameOnNonModule); 1911AddDiagnostic(diagnostics, ErrorCode.FTL_InvalidTarget); 2029AddDiagnostic(diagnostics, ErrorCode.ERR_OneAliasPerReference); 2047AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndIcon); 2052AddDiagnostic(diagnostics, ErrorCode.ERR_CantHaveWin32ResAndManifest); 2058AddDiagnostic(diagnostics, ErrorCode.WRN_CantHaveManifestForModule);