46 references to ERR_NoFileSpec
Microsoft.CodeAnalysis.CSharp (13)
CommandLine\CSharpCommandLineParser.cs (12)
546AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 559AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 649AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 703AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 772AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1025AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, "keyfile"); 1211AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1628AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1635AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1875AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1904AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 2042AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, argName);
Errors\ErrorFacts.cs (1)
1490or ErrorCode.ERR_NoFileSpec
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (33)
CommandLineTests.cs (33)
832Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code); 837Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code); 842Assert.Equal((int)ErrorCode.ERR_NoFileSpec, parsedArgs.Errors.First().Code); 855parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/win32res")); 861parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/win32icon")); 867parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/win32manifest")); 999diags.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("")); 1003diags.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("")); 1009Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("").WithLocation(1, 1)); 1015Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("").WithLocation(1, 1)); 1028Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("").WithLocation(1, 1)); 1052Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("").WithLocation(1, 1)); 1085Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("").WithLocation(1, 1)); 1147parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/resource:")); 1150parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/resource:")); 1162parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/linkresource:")); 1165parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/linkresource:")); 1195parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/l:")); 1234parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/reCURSE:")); 1237parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/RECURSE:")); 1284parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/r:")); 2101parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb")); 2105parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb:")); 2119Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments(@"/pdb:""""").WithLocation(1, 1)); 2753Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/a:")); 3714Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out:")); 3719Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/refout:")); 3754Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out")); 5655Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5664Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5875parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/ADDMODULE:")); 6245Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile")); 6249parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile"));