Tamás Vajk
45893ab084
Merge pull request #4775 from tamasvajk/feature/cil-attribute-decoding2
...
C#: Improve CIL attribute decoding
2020-12-17 15:20:44 +01:00
Tamas Vajk
1bc65a68df
Address PR review comments
2020-12-16 16:12:11 +01:00
Tamas Vajk
6cf3ca49e4
C#: Extract 'ImplicitObjectCreationExpressionSyntax'
2020-12-15 13:10:53 +01:00
Tamas Vajk
4318941009
C#: Add support for init only accessors
2020-12-11 10:06:38 +01:00
Tamas Vajk
f50cdf5ac7
Add logging to missing underlying enum type
2020-12-09 21:04:12 +01:00
Tamas Vajk
8e6e4189b3
Add logging to attribute decoding failures
2020-12-09 21:04:12 +01:00
Tamas Vajk
db426c1ffe
C#: Extract generic types in CIL attribute extraction
2020-12-09 21:04:12 +01:00
Tamas Vajk
56eb04fe6d
C#: Improve attribute argument (type, enum) decoding in CIL extraction
2020-12-09 21:04:12 +01:00
Tamas Vajk
0c0ef772c1
Add method to get qualified name of CIL extraction types
2020-12-09 21:00:39 +01:00
Tamas Vajk
d270aa2281
C#: Extract ID writing logic to separate class
2020-12-09 21:00:39 +01:00
Tamas Vajk
fc5f6c5203
C#: Fix ID of TypeReferenceType for top level classes
2020-12-09 21:00:39 +01:00
Tamas Vajk
332a64a6ca
Fix erroneous refactorings
2020-12-09 21:00:39 +01:00
Tamas Vajk
151379edd8
C#: Cleanup CIL extraction 'Type' classes
2020-12-09 21:00:39 +01:00
Tamás Vajk
6dd0234b68
Apply suggestions from code review
...
Co-authored-by: Tom Hvitved <hvitved@github.com >
2020-12-08 16:40:29 +01:00
Tamas Vajk
6b3010e3e6
C#: Extract enum underlying type from IL
2020-12-08 16:40:29 +01:00
Tamás Vajk
ec573b517f
Merge pull request #4759 from tamasvajk/feature/cil-attribute-array
...
C#: Improve array argument CIL extraction for attributes
2020-12-08 16:38:36 +01:00
Tamás Vajk
cbcae667a8
Apply suggestions from code review
...
Co-authored-by: Tom Hvitved <hvitved@github.com >
2020-12-08 15:23:13 +01:00
Tamas Vajk
ba56993396
C#: Fix CIL trap file writing in debug mode
2020-12-02 16:52:33 +01:00
Tamas Vajk
d140b0121a
C#: Improve array argument CIL extraction for attributes
2020-12-02 16:51:45 +01:00
Tamas Vajk
9ab930f812
C#: Remove marker interfaces from CIL extraction
2020-12-01 16:06:13 +01:00
Tamas Vajk
df28544020
C#: Separate all classes to dedicated files in CIL extractor
2020-12-01 15:20:02 +01:00
Tamas Vajk
998e2de2c6
Revert "Merge pull request #4653 from tamasvajk/feature/csharp9-relational-pattern"
...
This reverts commit 5e75a4109c , reversing
changes made to c751c516bf .
2020-11-27 12:23:38 +01:00
Tamas Vajk
5a808190d4
Address review comments
2020-11-27 10:16:57 +01:00
Tamas Vajk
b11fc2f957
C#: Extract relational patterns
2020-11-27 10:16:57 +01:00
Tamas Vajk
47ca4b0f3b
Address review comments
2020-11-26 16:12:19 +01:00
Tamas Vajk
55d47a70f4
C#: Extract modifiers for lambdas (async, static)
2020-11-26 16:12:18 +01:00
Tamas Vajk
3bd6807681
C#: Extract type patterns
2020-11-26 08:54:40 +01:00
Tamas Vajk
9b8d9771f8
C#: Handle parenthesized pattern extraction
2020-11-25 21:27:34 +01:00
Tamas Vajk
19883302af
C#: Extract local functions without body
2020-11-25 14:42:40 +01:00
Tamás Vajk
cb8c5e8cca
Merge pull request #4663 from tamasvajk/feature/patterns
...
C#: Refactor pattern extraction
2020-11-18 16:01:15 +01:00
Tamas Vajk
8bef5f417e
C#: Upgrade Roslyn dependencies to 3.8.0
2020-11-16 16:44:14 +01:00
Tamas Vajk
dee1690748
C#: Remove duplicated pattern extraction logic
2020-11-12 14:34:54 +01:00
Tamas Vajk
3f150bb09b
C#: Reorganize patterns
2020-11-12 13:47:38 +01:00
Tamas Vajk
8cbe8bc6b5
C#: Fix parent of 'TypeMention' for some variable declaration
2020-11-12 13:43:13 +01:00
Tom Hvitved
e57134e8a4
C#: Address comments
2020-11-11 09:54:51 +01:00
Tom Hvitved
d6515e7963
C#: Changes to extraction of attributes in assemblies
...
- Only cache on `AttributeData` and not the parent entity.
- Move `CreateGeneratedExpressionFromArgument` to `Expression.cs`.
- Restructure the various `CreateGenerated` methods so child entities are
created inside them (and therefore no need to expose child index logic).
- Add locations to generated expressions.
- Avoid linear lookup in `CompilationUnit.cs`.
- Consolidate tests.
2020-11-11 09:54:51 +01:00
Tamas Vajk
5f18840a9e
C#: Extract attributes of referenced assembly
2020-11-11 09:46:18 +01:00
Tamas Vajk
cdea3afced
C#: Change extraction of Attributes to have ID based on the location when location is from source
2020-11-11 09:46:18 +01:00
Tamas Vajk
c04d6f479c
C#: Change attribute extraction to use AttributeData and created generated expressions when missing
2020-11-11 09:46:18 +01:00
Dave Bartolomeo
4189567b8c
Fix PR feedback
...
Co-authored-by: Tom Hvitved <hvitved@github.com >
2020-10-29 10:15:45 -04:00
Dave Bartolomeo
42e075dfb8
Fix path transformer handling of extensionless files
2020-10-29 10:02:55 -04:00
Tamás Vajk
59d9be48a7
Merge pull request #4438 from tamasvajk/feature/ast-fixes
...
C#: Fixes for AST printing
2020-10-28 14:52:24 +01:00
Tamas Vajk
64b584b4a3
C#: Fix PR review findings in NamespaceDeclaration
2020-10-28 11:30:17 +01:00
Tamas Vajk
c2e8d3fb3b
C#: Minor fix in TypeMention
2020-10-28 11:28:06 +01:00
Tamas Vajk
5d0c30db66
C#: Fix nullable reference type handling in type mention extraction
2020-10-20 08:23:57 +02:00
Tamas Vajk
7929d8a982
C#: Fix generic type name location in AST
2020-10-20 08:23:56 +02:00
Tamas Vajk
037907e442
C#: Fix qualified name type mention extraction
2020-10-20 08:23:56 +02:00
Tamas Vajk
238ed2e643
C#: Make array and pointer type mentions symmetrical
2020-10-20 08:23:56 +02:00
Tamas Vajk
f0a40f6e5e
C#: Fix type mention for stackalloc to span assignment
2020-10-20 08:23:56 +02:00
Tamas Vajk
7cb4d6d7a0
C#: Fix type mentions for stackalloc arrays
2020-10-20 08:23:56 +02:00