Tamas Vajk
8e64880e86
Fix and add unit tests
2024-02-22 14:27:28 +01:00
Michael Nebel
a24a57c586
C#: Update most other test cases to reflect the synthesized constructor calls and bodies.
2024-02-22 13:33:30 +01:00
Michael Nebel
a4ab163532
C#: Update test output for cfg tests.
2024-02-22 13:33:29 +01:00
Michael Nebel
d19c83228e
C#: Do not bind comments to compiler generated statements.
2024-02-22 13:33:29 +01:00
Michael Nebel
cf9c3d5dd1
C#: Remove un-needed code as we extract synthetic default constructors.
2024-02-22 13:33:29 +01:00
Michael Nebel
14de39a854
C#: Also add synthetic bodies and inititializers for default constructors.
2024-02-22 13:33:29 +01:00
Michael Nebel
7ce7b58ce0
Merge pull request #15657 from michaelnebel/csharp/recordflow
...
C#: Use primary constructors for record types for dataflow.
2024-02-22 13:18:29 +01:00
Tamas Vajk
976c627d52
C#: Download latest dotnet SDK when missing
2024-02-22 12:07:15 +01:00
Michael Nebel
f2c849c737
C#: Simplify.
2024-02-22 11:19:34 +01:00
Michael Nebel
2afcc611ce
C#: Fix formatting.
2024-02-22 11:18:00 +01:00
Michael Nebel
21aa025db2
Update csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll
...
Co-authored-by: Tom Hvitved <hvitved@github.com >
2024-02-22 10:40:54 +01:00
Tamás Vajk
9ecac04709
Merge pull request #15680 from tamasvajk/buildless/no-mono-fallback-impr
...
C#: Improve fallback nuget package restore in buildless
2024-02-22 08:40:16 +01:00
Tamás Vajk
e13d6cdd57
Merge pull request #15678 from tamasvajk/fix/integration-test-paths
...
C#: Modify reported assembly paths in integration tests
2024-02-21 15:26:36 +01:00
Tamas Vajk
0c46b493c3
C#: Improve fallback nuget package restore in buildless
...
Fallback cases coming from `<PackageReference />` and `packages.config` are now differentiated. In the latter case we're restoring the package through projects that target `net481`.
2024-02-21 11:58:02 +01:00
Michael Nebel
a0b44c0fc1
C#: Update other tests expected output.
2024-02-21 10:57:22 +01:00
Michael Nebel
0d32192f62
C#: Update expected test output.
2024-02-21 10:57:22 +01:00
Michael Nebel
b76a27bba2
C#: Make a store step from explicit parameter nodes on primary constructors to the property of the same name for record types.
2024-02-21 10:57:22 +01:00
Michael Nebel
132b8baa57
C#: Delete summarized callable implementation for record flow and update expected output.
2024-02-21 10:33:19 +01:00
Michael Nebel
009ea1bcfd
C#: Add test examples for record flow and update expected test output.
2024-02-21 10:31:07 +01:00
Michael Nebel
f072e41d50
Merge pull request #15652 from michaelnebel/csharp/constructorflow
...
C#: Read-only property flow.
2024-02-21 10:12:46 +01:00
Tamas Vajk
e1e29f277c
C#: Modify reported assembly paths in integration tests
2024-02-21 09:39:19 +01:00
Michael Nebel
060133d3e9
C#: Add change note.
2024-02-21 09:34:21 +01:00
Tamás Vajk
70a2d16b1a
Merge pull request #15600 from tamasvajk/buildless/no-mono-dlls
...
C# Change desktop dotnet assembly lookup to fall back to nuget reference assemblies
2024-02-21 08:36:41 +01:00
github-actions[bot]
37f8fa3413
Post-release preparation for codeql-cli-2.16.3
2024-02-20 16:50:47 +00:00
Michael Nebel
d6f657cfd7
C#: Update expected test output.
2024-02-20 15:55:19 +01:00
Michael Nebel
e4d41194b4
C#: Include store steps into readonly properties.
2024-02-20 15:55:19 +01:00
Michael Nebel
3112bf4682
C#: Add some test property inititialization test cases and update expected output.
2024-02-20 15:55:19 +01:00
github-actions[bot]
6d061fbc35
Release preparation for version 2.16.3
2024-02-20 14:26:23 +00:00
Michael Nebel
ed3dba8334
Merge pull request #15625 from michaelnebel/csharp/primaryconstructorinitializer
...
C# 12: Primary constructor inititalizers.
2024-02-20 15:12:19 +01:00
Tamás Vajk
029db218fe
Merge pull request #15650 from tamasvajk/buildless/fallback-nuget-install
...
C#: Add fallback logic to `nuget install`
2024-02-20 14:26:44 +01:00
Michael Nebel
f246272b5f
C#: Code quality improvements.
2024-02-20 11:48:01 +01:00
Tamas Vajk
d3ba33d3a8
Code quality improvements
2024-02-20 10:22:08 +01:00
Tamas Vajk
b3f5beb076
C#: Use nameof in nullability attributes
2024-02-20 10:05:39 +01:00
Tamas Vajk
216d6c0827
Change separator character used in environment variable
2024-02-19 13:58:09 +01:00
Tamas Vajk
69c1895065
C#: Add fallback logic to nuget install
2024-02-19 13:08:45 +01:00
Michael Nebel
feda6bc01b
C#: Update expected test output.
2024-02-19 13:04:13 +01:00
Michael Nebel
d83687125c
C#: Add postupdate nodes for all instance parameter accesses - otherwise we get missing post update nodes to to reverseRead in the data flow consistency queries.
2024-02-19 13:04:13 +01:00
Michael Nebel
28d5c11b6f
C#: Synthesize an empty body for primary constructors.
2024-02-19 13:04:13 +01:00
Michael Nebel
dcde6597bc
C#: Updated expected test output.
2024-02-19 13:04:13 +01:00
Michael Nebel
7a80205519
C#: Extract explicit and implicit primary constructor initializers.
2024-02-19 13:04:12 +01:00
Michael Nebel
c613851c2d
C#: Invert logic in ExtractInitializer.
2024-02-19 13:04:12 +01:00
Michael Nebel
6b38a81e50
C#: Add some test cases for primary constructor inititalizers and a failing dataflow test.
2024-02-19 13:04:12 +01:00
Tamas Vajk
c68d36eb79
Remove restored framework packages when user specified framework folders
2024-02-16 14:42:39 +01:00
Tamas Vajk
ce0159c005
Add dotnet core dependencies to the integration test
2024-02-16 13:35:18 +01:00
Tamas Vajk
7e912f0de0
Rename integration test
2024-02-16 13:31:08 +01:00
Tamas Vajk
1e75c73825
Fix failing integration test
2024-02-16 12:50:13 +01:00
Tamas Vajk
f8b29ad70e
Introduce environment variable to specify framework assembly locations
2024-02-16 11:54:19 +01:00
Tamas Vajk
d358f8e4f2
Move undocumented environment variable names to a common location
2024-02-16 11:15:53 +01:00
Tamas Vajk
b996f7b3ce
Change environment variable for opt-out web view extraction
2024-02-16 11:15:53 +01:00
Tamas Vajk
8f0f6963bb
Change desktop dotnet assembly lookup to fall back to nuget reference assemblies
2024-02-16 11:15:53 +01:00