Anders Schack-Mulligen
|
9414cfbd03
|
C#: Add extractor support for object initializer methods.
|
2025-12-02 13:49:13 +01:00 |
|
Michael Nebel
|
1657dfb551
|
C#: Remove expression population safeguard and guard creation of constructor initializer expressions.
|
2025-11-07 15:26:07 +01:00 |
|
Michael Nebel
|
7c670cdc3f
|
C#: Address review comments and make more early returns in Populate.
|
2025-11-07 14:50:20 +01:00 |
|
Michael Nebel
|
61f6512c74
|
C#: Sprinkle uses of OnlyScaffold to extract less when in overlay mode.
|
2025-11-04 13:28:10 +01:00 |
|
Michael Nebel
|
89681a49e6
|
C#: Only extract the unbound locations for constructors, destructors and user defined operators and use this in the QL code.
|
2025-10-09 14:13:27 +02:00 |
|
Michael Nebel
|
12dc65d170
|
C#: For implicit constructors, pick a unique source location as reporting location (if any).
|
2025-10-06 14:02:13 +02:00 |
|
Michael Nebel
|
443c183e41
|
C#: Only extract locations for unbound declarations (if a declaration can be unfound) and don't extract empty locations.
|
2025-09-30 11:33:21 +02:00 |
|
Tamas Vajk
|
b7098b72a4
|
Move location-like entities to the Semmle.Extraction.CSharp namespace
|
2024-11-13 14:24:08 +01:00 |
|
Michael Nebel
|
e15a47d58c
|
C#: Update the extractor to use the BestOrDefault extension method to choose between multiple locations.
|
2024-06-25 16:02:54 +02:00 |
|
Michael Nebel
|
14de39a854
|
C#: Also add synthetic bodies and inititializers for default constructors.
|
2024-02-22 13:33:29 +01: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 |
|
Michael Nebel
|
f246272b5f
|
C#: Code quality improvements.
|
2024-02-20 11:48:01 +01:00 |
|
Tamas Vajk
|
b3f5beb076
|
C#: Use nameof in nullability attributes
|
2024-02-20 10:05:39 +01:00 |
|
Michael Nebel
|
28d5c11b6f
|
C#: Synthesize an empty body for primary constructors.
|
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
|
864f60f90f
|
C#: Re-arrange using statements.
|
2023-08-21 09:41:28 +02:00 |
|
Tom Hvitved
|
8a62778e92
|
C#: Extract out/ref information in this(...) constructor calls
|
2021-12-22 13:05:58 +01:00 |
|
Tamas Vajk
|
4eee6ef1d9
|
Handle system.object missing base type
|
2021-06-23 09:26:54 +02:00 |
|
Tom Hvitved
|
3d60c146ad
|
C#: Base IDs for constructed methods on their unconstructed counterparts
|
2021-06-03 11:11:32 +02:00 |
|
Tom Hvitved
|
fab8400ecd
|
C#: Escape IDs in TRAP label definitions
|
2021-05-06 19:12:13 +02:00 |
|
Tom Hvitved
|
ee62522c51
|
C#: Extract implicit constructor initializer calls
|
2021-04-29 14:05:42 +02:00 |
|
Tom Hvitved
|
63686b5c4e
|
C#: Use is [not] null throughout in the extractor
|
2021-03-05 16:28:12 +01:00 |
|
Tamas Vajk
|
cfd8a87496
|
C#: Fix nullability warnings after .net 5 upgrade
|
2021-03-03 14:25:59 +01:00 |
|
Tamas Vajk
|
10ab17a7e0
|
C#: Enable nullability in csharp extraction project v1
|
2021-03-03 14:18:19 +01:00 |
|
Tamas Vajk
|
841ef9a4ae
|
Make derived 'Context' classes internal and adjust visibility of members in base 'Context'
|
2021-02-24 16:21:19 +01:00 |
|
Tamas Vajk
|
5fca946678
|
C#: Split 'Context' class between CIL and source extraction
|
2021-02-24 16:21:19 +01:00 |
|
Tamas Vajk
|
199e937e9e
|
C#: Rename CachedEntity.symbol to Symbol
|
2021-02-16 09:13:12 +01:00 |
|
Tamas Vajk
|
4f693be33b
|
Move location creation to instance method on context
|
2021-02-15 10:17:08 +01:00 |
|
Tom Hvitved
|
9a9a57716c
|
C#: Improved extraction of type nullability
|
2021-01-15 16:01:14 +01:00 |
|
Tamas Vajk
|
5a91736b7a
|
C#: Change public fields to properties
|
2020-10-14 14:44:01 +02:00 |
|
Tamas Vajk
|
d5382f2cfd
|
C#: Fix modifier orders
|
2020-10-13 14:45:37 +02:00 |
|
Tamas Vajk
|
155453d9cb
|
C#: Format single line if statements
|
2020-10-13 14:45:37 +02:00 |
|
Tamas Vajk
|
aec4481cfb
|
C#: Use var everywhere
|
2020-10-13 14:45:37 +02:00 |
|
Tamas Vajk
|
7d544e34af
|
C#: Add declaration visibility modifiers
|
2020-10-13 14:45:37 +02:00 |
|
Tamas Vajk
|
7f86768a49
|
C#: Reformat LINQ extension method call-chains
|
2020-10-13 13:27:46 +02:00 |
|
Tamas Vajk
|
c38bf5ee5b
|
C#: Reduce nesting and fix some formatting
|
2020-10-13 13:27:46 +02:00 |
|
Tamas Vajk
|
e208f3d21d
|
C#: Simplify null checks with pattern matching, ??, and ?:
|
2020-10-13 13:27:46 +02:00 |
|
Tamas Vajk
|
b793af571e
|
C#: Remove unnecessary usings
|
2020-10-13 13:27:45 +02:00 |
|
Calum Grant
|
cd51a67c0d
|
C#: Take nullability into account when creating symbol entities. Otherwise, an entity with the wrong (cached) nullability could be created.
|
2020-09-02 10:52:04 +02:00 |
|
Calum Grant
|
d1cde2a815
|
C#: Address review comment.
|
2020-09-02 10:52:03 +02:00 |
|
Calum Grant
|
6649d72a2d
|
C#: Qualify type parameters with the entity that declares them
|
2020-09-02 10:52:03 +02:00 |
|
Tom Hvitved
|
8c0c283811
|
Revert "C#: Improve db consistency by removing assembly id"
|
2020-04-22 16:32:13 +02:00 |
|
Calum Grant
|
ead916702a
|
C#: Take nullability into account when creating symbol entities. Otherwise, an entity with the wrong (cached) nullability could be created.
|
2020-04-20 11:29:31 +01:00 |
|
Calum Grant
|
4c7d413fa4
|
C#: Address review comment.
|
2020-04-07 19:58:48 +01:00 |
|
Calum Grant
|
9ec0c8f3ec
|
C#: Qualify type parameters with the entity that declares them
|
2020-04-07 11:17:35 +01:00 |
|
Calum Grant
|
6c9ebaba0b
|
C#: Populate expression type nullability and nullable flow state.
|
2020-01-07 18:38:58 +00:00 |
|
Calum Grant
|
0129b42c54
|
C#: Address review comments.
|
2019-08-30 10:11:01 +01:00 |
|
Calum Grant
|
fe7e90e25a
|
C#: Remove the tuples from the C# extractor.
|
2019-08-30 10:11:00 +01:00 |
|
Calum Grant
|
486c192dda
|
C#: Refactoring expression and statement population.
|
2019-08-30 10:11:00 +01:00 |
|