Commit Graph

51 Commits

Author SHA1 Message Date
Dan Balasescu
2c9e7a6d7c Upgrade to .NET 8 SDK 2024-02-02 16:21:16 +09:00
Dan Balasescu
dffe45bc61 Update R# + fix inspections 2024-02-02 03:44:24 +09:00
Dean Herbert
3555aeefdd Add ForceRun flag to fix source generator tests 2023-07-20 16:38:13 +09:00
Dan Balasescu
e4ebfdb828 Add source generator for IsLongRunning property 2023-07-07 20:29:13 +09:00
Dan Balasescu
2b777ea7ff Revert default implementations 2023-06-16 03:36:00 +09:00
Dan Balasescu
879f241576 Add back KnownType to handle non-partial leafs 2023-06-15 16:47:12 +09:00
Dan Balasescu
f24cc147c3 Fix class name 2023-05-26 15:27:16 +09:00
Dan Balasescu
1f22d041c6 Use fully qualified interface names 2023-05-26 14:48:46 +09:00
Dan Balasescu
57ca0b852a Remove KnownType in favour of inspecting type hierarchy 2023-05-26 14:03:39 +09:00
Dan Balasescu
173bf19263 Fix tests not working due to naming 2023-05-26 11:51:49 +09:00
Bartłomiej Dach
c179cc5d08 Merge branch 'master' into input-cache-sgen 2023-05-06 16:35:47 +02:00
Dan Balasescu
4bf62a5092 Remove unnecessary csproj group 2023-04-29 09:32:39 +09:00
Dan Balasescu
af1d2d72bd Hide members outside of framework 2023-04-29 03:46:21 +09:00
Dan Balasescu
cbc67be64e Fix R# inspection 2023-04-29 03:07:06 +09:00
Dan Balasescu
0fc89f56a3 Remove unnecessary interface 2023-04-29 02:33:16 +09:00
Dan Balasescu
9d15537f55 Add source generator for Drawable handle input cache 2023-04-29 02:29:28 +09:00
Dan Balasescu
015dd4e73d Refactor test project structure 2023-04-28 22:20:40 +09:00
Dan Balasescu
74bef951b2 Refactor multiphase tests to not use statics 2023-04-28 22:11:12 +09:00
Dan Balasescu
5bbf3cfe08 Re-namespace dependency SG classes 2023-04-28 22:04:35 +09:00
Dan Balasescu
d1a6230052 Cleanup 2023-02-25 01:58:36 +09:00
Salman Ahmed
7a48e9cae7 Remove Roslyn 3.11 target 2022-12-22 12:14:25 +03:00
Dan Balasescu
f23478eccd Make file name match contained class 2022-12-05 16:01:50 +09:00
Dan Balasescu
6db8039c56 Apply automated code refactoring 2022-12-05 15:56:28 +09:00
Dan Balasescu
c93d891cbf Update tests 2022-12-05 15:55:01 +09:00
Dan Balasescu
e15b095710 Show diff on test failures 2022-12-05 15:54:54 +09:00
Dan Balasescu
62d6eff523 Merge branch 'master' into multi-phase-test 2022-12-05 15:32:41 +09:00
Bartłomiej Dach
76e3d2f52b Update tests to include global:: prefixes 2022-12-04 14:55:52 +01:00
Bartłomiej Dach
f9ae05e2cf Exploit one more failure case 2022-12-04 13:07:00 +01:00
Bartłomiej Dach
33560a2aa1 Demonstrate yet another failure case 2022-12-04 13:06:57 +01:00
Bartłomiej Dach
e2770b807b Add another failing test case with nested types 2022-12-04 13:06:53 +01:00
Bartłomiej Dach
6378d5ed34 Add failing test case 2022-12-04 13:06:50 +01:00
X9VoiD
b951fa7a7d Add testing against feedback from generator events
- Refactor test data retrieval into `GetTestSources()`
- Add `CheckWithStatistics()`
- Remove tests that are already in DependencyInjectionSourceGeneratorTests.Check
2022-12-04 11:05:32 +00:00
X9VoiD
896f4aaff4 Implement hooks to generator events for testing
It's implemented in this way to allow modularly injecting tests by
coordinating code with PhaseChanged and PhaseCompleted events, like how
AddStatisticsVerification is.
2022-12-04 10:34:54 +00:00
X9VoiD
bccd097955 Do not replace equivalent syntax trees 2022-12-04 02:44:37 +00:00
X9VoiD
5474f6ac48 Do not use compilation from generator run
Using it makes the generator see duplicate syntax trees. Maybe LSP
implementations (rider, omnisharp) suffer from this bug since we observe
the same issue from those?
2022-12-04 02:24:07 +00:00
X9VoiD
03c276283d Avoid target-typed new() 2022-12-03 21:49:56 +00:00
X9VoiD
7cdcbf0734 Add multi phase source generator test 2022-12-03 20:49:50 +00:00
Dan Balasescu
403f3c159a Fix project references 2022-11-29 19:52:41 +09:00
Dan Balasescu
b560a8a164 Add Roslyn 3.11 source generator package 2022-11-29 19:04:46 +09:00
Dan Balasescu
fc8ab3c6bd Use incremental source generator 2022-11-27 00:49:01 +09:00
Dan Balasescu
64cbe89672 Enable now-fixed SG test 2022-11-26 23:39:04 +09:00
Dan Balasescu
8201e7b31b Adjust SG tests with new flow 2022-11-26 23:37:28 +09:00
Dan Balasescu
d646d4c3b7 Add failing test for future work 2022-11-26 16:34:12 +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
5428955f8e Fix build warning 2022-11-24 23:37:50 +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