File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
csharp/ql/integration-tests/all-platforms Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1
1
| Program.cs |
2
2
| Views/Home/Index.cshtml |
3
3
| _semmle_code_target_codeql_csharp_integration_tests_ql_csharp_ql_integration_tests_all_platforms_cshtml_standalone_Views_Home_Index_cshtml.g.cs |
4
+ | test-db/working/implicitUsings/GlobalUsings.g.cs |
Original file line number Diff line number Diff line change 1
1
import csharp
2
2
3
3
private string getPath ( File f ) {
4
- result = f .getRelativePath ( )
4
+ result = f .getRelativePath ( ) and
5
+ not exists (
6
+ result
7
+ .indexOf ( "_semmle_code_target_codeql_csharp_integration_tests_ql_csharp_ql_integration_tests_all_platforms_cshtml_standalone_" )
8
+ )
5
9
or
6
- not exists ( f .getRelativePath ( ) ) and
7
10
exists ( int index |
8
11
index =
9
- f .getBaseName ( )
12
+ f .getRelativePath ( )
10
13
.indexOf ( "_semmle_code_target_codeql_csharp_integration_tests_ql_csharp_ql_integration_tests_all_platforms_cshtml_standalone_" ) and
11
- result = f .getBaseName ( ) .substring ( index , f .getBaseName ( ) .length ( ) )
14
+ result = f .getRelativePath ( ) .substring ( index , f .getRelativePath ( ) .length ( ) )
12
15
)
13
16
}
14
17
Original file line number Diff line number Diff line change 1
1
| Program.cs:0:0:0:0 | Program.cs |
2
+ | test-db/working/implicitUsings/GlobalUsings.g.cs:0:0:0:0 | test-db/working/implicitUsings/GlobalUsings.g.cs |
You can’t perform that action at this time.
0 commit comments