Michael Nebel
bffdbbcf95
C#: Address review comments.
2023-07-07 13:16:34 +02:00
github-actions[bot]
6484ee106e
Release preparation for version 2.14.0
2023-07-07 08:22:14 +00:00
Dave Bartolomeo
9631e9f2f1
Bump minor version numbers post-GHES
2023-07-06 10:10:01 -04:00
Dave Bartolomeo
2bb9adfbf1
Merge remote-tracking branch 'origin/main' into dbartol/mergeback-3.10
2023-07-06 10:00:46 -04:00
Mathias Vorreiter Pedersen
83d0dec0fb
DataFlow: Sync identical files.
2023-07-06 14:00:00 +01:00
Michael Nebel
6a87755ff1
C#: Use dotnet --list-runtimes to find runtime locations.
2023-07-06 13:27:22 +02:00
Tamás Vajk
14caaf119c
Merge pull request #13658 from tamasvajk/cs/standalone/restore-impr
...
C#: Improve dotnet restore success rate in standalone extraction
2023-07-06 10:10:05 +02:00
Joe Farebrother
c10a66809d
Merge pull request #13094 from joefarebrother/csharp-missing-access-control
...
C#: Add query for missing function level access control
2023-07-05 17:40:59 +01:00
Joe Farebrother
a53bf4ddd7
Apply doc review suggestions
2023-07-05 15:37:48 +01:00
Tamas Vajk
d0b8b683af
Adjust error handling when dotnet --info is called
2023-07-05 14:26:00 +02:00
Tamás Vajk
9eae9464c9
Merge pull request #13659 from tamasvajk/standalone-minor-fixes
...
C#: Minor fixes in standalone extraction
2023-07-05 12:22:16 +02:00
Tamas Vajk
9b2fd8df9f
Add todo comment
2023-07-04 14:03:04 +02:00
Tamas Vajk
ffc09c44c2
Minor fixes in standalone extraction
2023-07-04 13:54:23 +02:00
Tamas Vajk
ef0e102cd7
Retrieve package IDs from files and restore the not yet restored ones
...
Read all files in the repo and look for `PackageReference` XML elements
to extract the package IDs, then restore the packages that are not yet
restored. This change improves the percentage of found assemblies on the
Powershell repo from 95% to 97% compared to a traced extraction. Also,
it increases the number of assemblied only referenced in the standalone
extraction from 79 to 134.
2023-07-04 13:52:12 +02:00
Tamas Vajk
cd6419503f
Execute dotnet restore on all projects in standalone
...
Previously, we only did this for the solution files in the repository, but
there might be projects that are not added to any solution. This change
improves the percentage of found assemblies on the Powershell repo from
81% to 95%.
2023-07-04 13:52:12 +02:00
Tamas Vajk
728f3bce2d
Refactor dotnet restore command invocation
2023-07-04 13:52:12 +02:00
Tamas Vajk
d2b0c872f5
Code quality improvements
2023-07-04 13:52:12 +02:00
Michael Nebel
3cde59e409
Merge pull request #13651 from michaelnebel/telemetrytop100
...
Java/C#: Reduce the amount of telemetry being produced.
2023-07-04 08:33:53 +02:00
Michael Nebel
238f390738
Merge pull request #13452 from michaelnebel/refactorstackprinting
...
Re-factor printing of summary component stacks.
2023-07-04 08:29:10 +02:00
Michael Nebel
243c592447
Address review comments.
2023-07-03 17:01:08 +02:00
Michael Nebel
23a119b8c2
Java/C#: Reduce the amount of telemetry being produced.
2023-07-03 16:54:07 +02:00
Michael Nebel
b942cd9085
C#: Address review comments.
2023-07-03 14:36:07 +02:00
Michael Nebel
62fc1b641c
C#: Adjust the model generator to produce kinds for neutrals.
2023-07-03 14:36:06 +02:00
Michael Nebel
4ee2d628fe
C#: Re-factor printing of summary component stacks.
2023-07-03 14:36:06 +02:00
Chuan-kai Lin
ce464a7d69
Remove pragma[assume_small_delta]
2023-06-30 11:09:29 -07:00
Tamás Vajk
4e4c5f858e
Merge pull request #13619 from tamasvajk/remove-rename-standalone
...
C#: Remove the renaming of `Directory.Build.props` from standalone extraction
2023-06-30 12:24:05 +02:00
github-actions[bot]
668aaa2dc8
Post-release preparation for codeql-cli-2.13.5
2023-06-30 08:51:48 +00:00
Tamas Vajk
2de356dbfe
C#: Remove the renaming of Directory.Build.props from standalone extraction
2023-06-29 15:06:46 +02:00
github-actions[bot]
9d7987f822
Release preparation for version 2.13.5
2023-06-29 09:26:18 +00:00
Koen Vlaswinkel
e4d2c51ff8
C#: Add tests for names of nested classes
2023-06-28 09:40:31 +02:00
Koen Vlaswinkel
6812389fc8
C#: Fix external API name for nested types
...
This fixes the name of reported external APIs for nested types. The
`getDeclaringType().getUnboundDeclaration()`'s `toString()` method
reports the name of the type, but not the name of the declaring type.
This results in missing information in the
`UnsupportedExternalAPIs.ql` query.
For example, previously it would report:
```
GitHub.Nested#NestedClass.Test()
```
However, the `NestedClass` class does not exist in the namespace and is
only a nested type within `MyFirstClass`. The correct name should be:
```
GitHub.Nested#MyFirstClass+NestedClass.Test()
```
This name also matches the format of MaD.
2023-06-27 16:31:06 +02:00
Tom Hvitved
df61eaf59f
Merge pull request #13565 from hvitved/csharp/gvn-blowup
...
C#: Avoid combinatorial explosions in GVN construction for types
2023-06-27 13:31:36 +02:00
Kasper Svendsen
6869f03cca
C#: Enable implicit this warnings for remaining packs
2023-06-27 11:27:16 +02:00
Tom Hvitved
160771e673
C#: Avoid combinatorial explosions in GVN construction for types
2023-06-27 10:08:53 +02:00
Joe Farebrother
c419e8d24a
Fix test
2023-06-26 18:05:11 +01:00
Joe Farebrother
1d64d1297c
Update tests to use stubs
2023-06-26 16:51:07 +01:00
Joe Farebrother
938a996322
Add test case for Authorize attribute
2023-06-26 15:57:57 +01:00
Joe Farebrother
b2d54842a6
Apply review suggestion
...
Co-authored-by: Michael Nebel <michaelnebel@github.com >
2023-06-23 17:00:52 +01:00
Tom Hvitved
0cb27e7511
C#: Add toString functionality consistency queries
2023-06-23 13:28:11 +02:00
Mathew Payne
0fcc1cb588
Merge branch 'main' into csharp-ext
2023-06-22 13:30:08 +01:00
Joe Farebrother
52841e9005
Apply review suggestions - minor fixes
2023-06-22 11:30:58 +01:00
Joe Farebrother
bdaeeeadee
Add good/bad indicators to tests
2023-06-22 11:21:30 +01:00
Joe Farebrother
270bcc3740
fix qhelp and remove commented out code
2023-06-22 11:20:58 +01:00
Henry Mercer
5afdaf8fe1
Merge pull request #13525 from github/rc/3.10
...
Merge `rc/3.10` back to `main`
2023-06-21 17:13:36 +01:00
Michael Nebel
3a81d21c1c
Merge pull request #13520 from michaelnebel/csharp/usestubs3
...
C#: Use stubs for query test cases.
2023-06-21 11:41:26 +02:00
Michael Nebel
27ee4241e8
C#: Remove unused test assemblies.
2023-06-21 10:45:08 +02:00
Michael Nebel
34e50de76d
C#: Only use the dll's that are strictly needed in the API Abuse/NoDisposeCallOnLocalIDisposable test case.
2023-06-21 10:39:52 +02:00
Michael Nebel
82bf27c7b2
C#: Base the remaining API Abuse query test cases on stubs.
2023-06-21 09:52:35 +02:00
Michael Nebel
52323d3990
C#: Base API Abuse/IncorrectCompareToSignature test case on stubs and update expected test output.
2023-06-21 09:40:37 +02:00
Michael Nebel
0e263fb744
C#: Base API Abuse/DisposeNotCalledOnException test case on stubs. Since the stubs requires C# 11 the language version has been removed from the options (also it doesn't affect the output).
2023-06-21 09:40:37 +02:00