46 references to ERR_NoFileSpec
Microsoft.CodeAnalysis.CSharp (13)
CommandLine\CSharpCommandLineParser.cs (12)
577AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 590AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 680AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 734AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 803AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1056AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, "keyfile"); 1242AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1664AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1671AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1911AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1940AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 2078AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, argName);
Errors\ErrorFacts.cs (1)
1491or 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:")); 2112parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb")); 2116parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb:")); 2130Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments(@"/pdb:""""").WithLocation(1, 1)); 2764Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/a:")); 3725Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out:")); 3730Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/refout:")); 3765Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out")); 5666Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5675Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5886parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/ADDMODULE:")); 6256Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile")); 6260parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile"));