1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-25 01:42:46 +01:00
Commit Graph

27 Commits

Author SHA1 Message Date
Sergio Pedri
8157b745bc Use ".g.cs" extension for all generated files 2022-05-30 18:25:04 +02:00
Sergio Pedri
4b825ad126 Replace ToFullStrin() with GetText(Encoding) 2022-05-28 13:28:11 +02:00
Sergio Pedri
59d92997ca Fix build error with generic IRecipient<T> types
This just uses the compiled LINQ expression fallback
2022-05-24 09:53:05 +02:00
Sergio Pedri
54baa39370 Disable validation/recipient generator for abstract types 2022-05-21 14:06:27 +02:00
Sergio Pedri
d1f7ef9eee Move partial filtering logic to new extension 2022-05-03 16:20:05 +02:00
Sergio Pedri
8fba78db76 Simplify AddSource(...) calls 2022-03-25 22:28:53 +01:00
Sergio Pedri
1e033f47bb Improve detection of [DynamicallyAccessedMembers] 2022-03-06 19:34:30 +01:00
Sergio Pedri
baada1ac70 Update RegisterConditionalImplementationSourceOutput extension 2022-03-06 19:33:30 +01:00
Sergio Pedri
40b492ddf8 Generate [DynamicallyAccessedMembers] for __ObservableValidatorExtensions 2022-03-06 19:29:30 +01:00
Sergio Pedri
e78e9c8250 Generate [DynamicallyAccessedMembers] for __IMessengerExtensions 2022-03-06 19:26:02 +01:00
Sergio Pedri
1a24e0d415 Optimize duplicates removal in IMessengerRegisterAllGenerator 2022-03-01 00:17:15 +01:00
Sergio Pedri
854499580a Improve syntax node filtering in IMessengerRegisterAllGenerator 2022-03-01 00:17:15 +01:00
Sergio Pedri
849a0f14e5 Fix IRecipient generator for partial recipient declarations 2022-03-01 00:17:15 +01:00
Sergio Pedri
c38a4a2118 Disable generation of header files if no targets are present 2022-01-14 14:19:48 +01:00
Sergio Pedri
35d403b945 Fix mixed whitespaces in generated files 2021-12-31 17:32:47 +01:00
Sergio Pedri
aae1cbde84 Add base Comparer<T, TSelf> type 2021-12-29 18:31:11 +01:00
Sergio Pedri
9cc7d41c1e Add FilterWithLanguageVersion extension to gate on language version 2021-12-29 18:31:11 +01:00
Sergio Pedri
64649493b5 Add PropertyInfo type 2021-12-29 18:30:36 +01:00
Sergio Pedri
ff09557a6f Improve code generation for IMessengerRegisterAllGenerator 2021-12-29 18:30:22 +01:00
Sergio Pedri
793a96ac39 Remove non incremental IMessengerRegisterAllGenerator 2021-12-29 18:30:22 +01:00
Sergio Pedri
5fd70ed0be Add incremental IMessengerRegisterAllGenerator 2021-12-29 18:29:57 +01:00
Sergio Pedri
3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri
12750907cb Switch generated headers to "// <auto-generated/>" 2021-11-15 11:22:42 +01:00
Sergio Pedri
c176080d37 Switch whole solution to file-scoped namespaces 2021-11-01 20:46:46 +01:00
Sergio Pedri
7a2295b03c Update some code style rules
In particular:
- Use explicit types everywhere to improve clarity
- Use target-typed new() expression when target is explicit
- Use explicit discard for value-returning statements
2021-11-01 20:34:00 +01:00
Sergio Pedri
8b7c87284b Update namespaces from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:22:05 +01:00
Sergio Pedri
b498321331 Rename folders/projects from Microsoft.Toolkit to CommunityToolkit 2021-11-01 17:07:47 +01:00