40 references to FTL_InvalidInputFileName
Microsoft.CodeAnalysis.CSharp (6)
CommandLine\CSharpCommandLineParser.cs (3)
1715
AddDiagnostic(diagnostics, ErrorCode.
FTL_InvalidInputFileName
, outputFileName);
1726
AddDiagnostic(diagnostics, ErrorCode.
FTL_InvalidInputFileName
, outputFileName);
2083
AddDiagnostic(diagnostics, ErrorCode.
FTL_InvalidInputFileName
, filePath);
Errors\ErrorFacts.cs (1)
1502
or ErrorCode.
FTL_InvalidInputFileName
Errors\MessageProvider.cs (1)
161
public override int FTL_InvalidInputFileName => (int)ErrorCode.
FTL_InvalidInputFileName
;
Generated\ErrorFacts.Generated.cs (1)
363
case ErrorCode.
FTL_InvalidInputFileName
:
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (34)
CommandLineTests.cs (34)
541
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("web.config").WithLocation(1, 1),
735
Assert.Equal((int)ErrorCode.
FTL_InvalidInputFileName
, args.Errors[0].Code);
991
diags.Verify(Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"D:rive\relative\path"));
995
diags.Verify(Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"inva\l*d?path"));
1102
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(longI).WithLocation(1, 1));
2134
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("C:\\"));
2169
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"\\b"));
2175
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"\\b\OkFileName.pdb"));
2185
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a.b\0b"));
2197
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a<>.pdb"));
3720
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(""));
3849
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(currentDrive + ":a.cs"));
3860
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"\\b"));
3878
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a.b\0b"));
3894
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a<>.dll"));
3903
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".exe")
3913
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".exe")
3923
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".dll")
3933
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".netmodule")
3957
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".dll")
3980
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".x"));
3989
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(".x"));
4120
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(currentDrive + ":a.xml"));
4128
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"\\b"));
4142
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a.b\0b"));
4158
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a<>.xml"));
4199
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"C:""My Folder\MyBinary.xml").WithLocation(1, 1));
4224
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(currentDrive + ":a.xml"));
4232
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"\\b"));
4245
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a.b\0b"));
4253
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments("a<>.xml"));
9348
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(@"tmpDi\r*a?.cs"),
9357
Diagnostic(ErrorCode.
FTL_InvalidInputFileName
).WithArguments(currentDrive + @":a.cs")};
9824
Assert.Equal((int)ErrorCode.
FTL_InvalidInputFileName
, parsedArgs.Errors.First().Code);