46 references to ERR_NoFileSpec
Microsoft.CodeAnalysis.CSharp (13)
CommandLine\CSharpCommandLineParser.cs (12)
576AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 589AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 679AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 733AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 802AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1055AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, "keyfile"); 1241AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1663AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1670AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1910AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 1939AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, arg); 2077AddDiagnostic(diagnostics, ErrorCode.ERR_NoFileSpec, argName);
Errors\ErrorFacts.cs (1)
1500or 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:")); 2115parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb")); 2119parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/pdb:")); 2133Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments(@"/pdb:""""").WithLocation(1, 1)); 2767Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/a:")); 3728Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out:")); 3733Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/refout:")); 3768Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/out")); 5669Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5678Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile").WithLocation(1, 1)); 5903parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("/ADDMODULE:")); 6273Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile")); 6277parsedArgs.Errors.Verify(Diagnostic(ErrorCode.ERR_NoFileSpec).WithArguments("keyfile"));