Commit Graph

45 Commits

Author SHA1 Message Date
Salman Ahmed
2bdc1f5bbf Fix issues pointed out by .NET code style analysis 2022-12-22 12:49:48 +03:00
Salman Ahmed
cff691b2f8 Update source generator to .NET 6 2022-12-22 12:14:25 +03:00
Salman Ahmed
7a48e9cae7 Remove Roslyn 3.11 target 2022-12-22 12:14:25 +03:00
Alden Wu
cac7655dd7 Forward CLI args to sourcegen pack script's build step 2022-12-06 21:49:01 -08:00
Alden Wu
2109dbb284 Explicitly build sourcegen project before packing 2022-12-06 20:22:17 -08:00
Alden Wu
fe18b4962d Fix artifacts dir wildcard 2022-12-06 16:40:50 -08:00
Dan Balasescu
62d6eff523 Merge branch 'master' into multi-phase-test 2022-12-05 15:32:41 +09:00
Bartłomiej Dach
ebe85a59d8 Fix nullability annotations not being emitted on global:: prefixed type names 2022-12-04 14:55:49 +01:00
Bartłomiej Dach
7d796889e7 Protect non-keyword dynamically-emitted type names with global:: prefixes 2022-12-04 14:55:39 +01:00
Bartłomiej Dach
3b63630a8e Prefix all type names in literals with global:: 2022-12-04 13:08:23 +01:00
X9VoiD
a6e7955a92 Add DI source generator events
This will be mainly used for collecting statistics and state per run
2022-12-04 10:31:10 +00:00
Dean Herbert
7718facb27 Merge branch 'master' into generator-perf-improvements-2 2022-12-03 22:17:26 +09:00
Dan Balasescu
157852f7b4 Consume semantic model earlier, reduce layering 2022-12-03 04:51:05 +09:00
Dan Balasescu
485293484b Restructure for memoisation 2022-12-03 04:17:50 +09:00
Dean Herbert
51e729d14d Fix inconsistent body style inspection 2022-12-01 15:33:36 +09:00
Dan Balasescu
127a7bab6f Reduce code duplication between source generator classes 2022-11-30 15:08:39 +09:00
Dan Balasescu
ca72d0a2db Disable package analysis to clean output 2022-11-30 12:07:22 +09:00
Dan Balasescu
fe30be5646 Add source generator targets to nupkg 2022-11-30 12:07:09 +09:00
Dan Balasescu
4f297bde55 Rename build targets file 2022-11-30 12:07:00 +09:00
Dan Balasescu
acd755426b Fix indentation 2022-11-29 20:03:12 +09:00
Dan Balasescu
7dfb33514f Move common classes into the Common directory 2022-11-29 19:59:11 +09:00
Dan Balasescu
ab9cb70210 Remove suffix from names 2022-11-29 19:56:28 +09:00
Dan Balasescu
9cbdf6babc Rework structure 2022-11-29 19:49:22 +09:00
Dan Balasescu
bf8af34687 Distinct candidates 2022-11-29 19:27:16 +09:00
Dan Balasescu
b560a8a164 Add Roslyn 3.11 source generator package 2022-11-29 19:04:46 +09:00
Dan Balasescu
86cd0b723f Add secondary stage distinct item selection 2022-11-28 22:58:01 +09:00
Dan Balasescu
c889a471fe Rewrite to not store symbols/require Compilation 2022-11-28 19:56:06 +09:00
Dan Balasescu
c9460cbf98 Remove Distinct() 2022-11-28 17:49:41 +09:00
Dan Balasescu
4b2b2a0e8c Cleanup a bit 2022-11-28 16:04:40 +09:00
Dan Balasescu
57ed922fe0 Compare equality by class name 2022-11-28 15:52:36 +09:00
Dan Balasescu
4d63d4390f Register as implementation output to reduce load on IDEs 2022-11-27 01:28:59 +09:00
Dan Balasescu
672d3d5bdf Remove hashset requirement + cleanup 2022-11-27 01:23:45 +09:00
Dan Balasescu
ef3806ea88 Silence inspection 2022-11-27 00:50:01 +09:00
Dan Balasescu
fc8ab3c6bd Use incremental source generator 2022-11-27 00:49:01 +09:00
Dan Balasescu
7e3360a016 Adjust diagnostic messaging 2022-11-26 23:40:42 +09:00
Dan Balasescu
deb17cadc0 Allow SG to skip non-candidate classes 2022-11-26 23:21:19 +09:00
Dan Balasescu
21d9a3ef05 Adjust analyser/generator to match new interface 2022-11-26 23:17:29 +09:00
Dan Balasescu
31b1790914 Fix caching recursive interface definitions 2022-11-26 15:04:02 +09:00
Dan Balasescu
bb24637e35 Pass nullability to GetDependency<T> 2022-11-26 15:04:02 +09:00
Dan Balasescu
e2665283fc Use fully qualified name to ensure uniqueness 2022-11-26 02:54:53 +09:00
Dan Balasescu
69fa506fa4 Adjust naming according to suggestions 2022-11-25 12:10:00 +09:00
Dan Balasescu
53946c9869 Fix some inspections 2022-11-24 23:53:56 +09:00
Dan Balasescu
5ba9924dd7 Fix cached attributes running on derived classes 2022-11-24 15:21:08 +09:00
Dan Balasescu
edebab2b7a Add file header to suppress warnings 2022-11-24 14:26:48 +09:00
Dan Balasescu
08930fa132 Add source generator structure 2022-11-24 12:45:51 +09:00