61 references to ERR_SwitchNeedsBool
Microsoft.CodeAnalysis.VisualBasic (32)
CommandLine\VisualBasicCommandLineParser.vb (31)
266AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionstrict") 275AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionstrict") 298AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionexplicit") 307AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optionexplicit") 316AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optioninfer") 325AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optioninfer") 366AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "removeintchecks") 375AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "removeintchecks") 447AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "i") 454AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "i") 495AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "refonly") 556AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "doc") 566AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "doc") 730AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "debug") 738AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "debug") 746AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optimize") 755AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "optimize") 764AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 773AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 782AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name) 791AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 800AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 879AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "delaysign") 888AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "delaysign") 897AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "publicsign") 906AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "publicsign") 987AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "quiet") 1012AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "verbose") 1021AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, name.Substring(0, name.Length - 1)) 1030AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "utf8output") 1038AddDiagnostic(diagnostics, ERRID.ERR_SwitchNeedsBool, "utf8output")
Errors\ErrorFacts.vb (1)
32ERRID.ERR_SwitchNeedsBool,
Microsoft.CodeAnalysis.VisualBasic.CommandLine.UnitTests (29)
CommandLineTests.vb (29)
856args.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("i").WithLocation(1, 1)) 1595parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("delaysign")) 1621parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("verbose")) 1624parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("verbose")) 1661parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("quiet")) 1664parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("quiet")) 1705parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optimize")) 1708parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optimize")) 1711parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optimize")) 1766parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("parallel")) 1769parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("parallel")) 1772parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("parallel")) 1787parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("p")) 1790parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("p")) 1793parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("p")) 2005parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optionexplicit")) 2010parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optionexplicit")) 2014parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optionexplicit")) 2032parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optioninfer")) 2035parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optioninfer")) 2038parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("optioninfer")) 3027parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("utf8output")) 3134parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("debug")) 3732Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("refonly").WithLocation(1, 1)) 4436Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("doc")) 4442Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("doc")) 4869parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("removeintchecks")) 4872parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("removeintchecks")) 4875parsedArgs.Errors.Verify(Diagnostic(ERRID.ERR_SwitchNeedsBool).WithArguments("removeintchecks"))