Commit Graph
2407 Commits
Author SHA1 Message Date
Sergio Pedri eea59fd474 Fix handling of 'private protected' accessors 2024-10-24 14:42:00 -07:00
Sergio Pedri 767c05b255 Add 'UnsupportedRoslynVersionForPartialPropertyAnalyzer' 2024-10-24 13:37:28 -07:00
Sergio Pedri efa90a3347 Add 'InvalidPropertyLevelObservablePropertyAttributeAnalyzer' 2024-10-24 13:37:28 -07:00
Sergio Pedri 6342b83d7a Add unit tests for new analyzer 2024-10-24 11:48:22 -07:00
Sergio Pedri 62c06f1113 Add 'UseObservablePropertyOnPartialPropertyAnalyzer' 2024-10-24 11:44:32 -07:00
Sergio Pedri aabcd15960 Add initial codegen tests for partial properties 2024-10-24 00:32:34 -07:00
Sergio Pedri 5d37b7322f Fix nullability for generated partial properties 2024-10-24 00:32:21 -07:00
Sergio Pedri f9f77719a3 Fix handling notify data error info 2024-10-23 23:17:30 -07:00
Sergio Pedri db221edcf8 Update the targets of additional attributes 2024-10-23 22:00:52 -07:00
Sergio Pedri 8ca2f3c8cf Omit implicit accessibility modifiers 2024-10-23 22:00:28 -07:00
Sergio Pedri 52ad254ade Fix a generator crash when used on properties 2024-10-23 22:00:03 -07:00
Sergio Pedri 46d03e83b4 Update generation to account for properties 2024-10-23 21:27:57 -07:00
Sergio Pedri 5f2ffcf4c0 Don't emit an error for collisions for properties 2024-10-23 21:15:43 -07:00
Sergio Pedri 17263fe7ce Generalizing the generated accessibility modifiers 2024-10-23 21:11:29 -07:00
Sergio Pedri e5b2802950 Gather accessibility information from nodes 2024-10-23 19:35:36 -07:00
Sergio Pedri f970ba6c0b Move forwarded attributes gathering to helper 2024-10-23 19:23:39 -07:00
Sergio Pedri bbd59ec247 Add unit tests for new analyzer 2024-10-22 23:55:53 -07:00
Sergio Pedri 34a7c6f608 Update '[ObservableProperty]' attribute 2024-10-22 23:54:07 -07:00
Sergio Pedri 41dc834719 Add blank test project for new generator 2024-10-22 22:54:28 -07:00
Sergio Pedri fff5f91b62 Suppress warnings about removed rules 2024-10-22 22:50:52 -07:00
Sergio Pedri 3df53f3454 Add 'RequiresCSharpLanguageVersionPreviewAnalyzer' 2024-10-22 22:50:52 -07:00
Sergio Pedri 76264f7875 Update the generator to also work on properties 2024-10-22 22:50:52 -07:00
Sergio Pedri c8e794beee Add logic to match partial properties 2024-10-22 22:50:52 -07:00
Sergio Pedri f4fdb276e1 Pack new source generator in MVVM Toolkit 2024-10-22 22:50:51 -07:00
Sergio Pedri 9c9061d504 Update .targets for Roslyn setup 2024-10-22 22:50:51 -07:00
Sergio Pedri a67a31dfb0 Add 'global.json' file 2024-10-22 22:50:51 -07:00
Sergio Pedri e27359fbb0 Fix naming conventions for all Roslyn projects 2024-10-22 22:50:51 -07:00
Sergio Pedri 11d15c9dbd Add blank 'Roslyn4110' project 2024-10-22 22:50:51 -07:00
Sergio Pedri ba45963ed8 Merge pull request #964 from CommunityToolkit/dev/fix-attribute-target-suppression
Fix suppressions for custom attribute targets
2024-10-22 22:21:38 -07:00
Sergio Pedri d52dec9097 Fix suppressions for custom attribute targets 2024-10-22 22:02:26 -07:00
Sergio Pedri cb478f1faa Merge pull request #946 from CommunityToolkit/dev/forward-accessor-attributes
Allow forwarding attributes to property accessors
2024-09-18 18:28:39 +02:00
Sergio Pedri 8404e3ae45 Add unit test for updated diagnostic suppressor 2024-09-18 17:31:05 +02:00
Sergio Pedri c7e454a8c7 Add unit test for accessor attributes 2024-09-18 17:31:05 +02:00
Sergio Pedri 5d9ce3ee16 Update diagnostic suppressor for forwarded attributes 2024-09-18 17:31:05 +02:00
Sergio Pedri 07971586a3 Add support for forwarding accessor attributes 2024-09-18 17:31:05 +02:00
Sergio Pedri 9accd8a5c1 Merge pull request #952 from CommunityToolkit/dev/update-framework-reference-checks
Update SDK package checks for .NET 9 SDK
2024-09-18 13:31:03 +02:00
Sergio Pedri 67872c12de Update SDK package checks for .NET 9 SDK 2024-09-15 12:37:59 +02:00
Sergio Pedri 04c514c758 Merge pull request #942 from CommunityToolkit/dev/windows-sdk-validation
Add .targets to validate the Windows SDK version
2024-09-12 15:26:01 +02:00
Sergio Pedri bbb4fb21be Suggest package versions based on configuration 2024-09-12 10:18:57 +02:00
Sergio Pedri 9c0725a894 Add .targets to validate the Windows SDK version 2024-09-09 14:21:56 +02:00
Sergio Pedri 1f8e52720a Merge pull request #944 from CommunityToolkit/dev/nullable-old-property-value
Improve nullable annotations in [ObservableProperty] generated code
2024-09-09 14:03:14 +02:00
Sergio Pedri 8e23ac1a03 Add unit tests for new nullable annotations 2024-09-09 13:40:44 +02:00
Sergio Pedri 9abe628c9f Mark old property value as nullable if needed 2024-09-09 10:30:31 +02:00
Sergio Pedri af626a6306 Merge pull request #918 from CommunityToolkit/dev/observable-validator-trim-generator
Generate trim annotations for [NotifyDataErrorInfo] properties
2024-08-21 23:18:59 -07:00
Sergio Pedri 2e3ca71147 Add unit tests for generated trim annotations 2024-08-21 22:56:40 -07:00
Sergio Pedri 095ac530a8 Generate [RequiresUnreferencedCode] when needed 2024-08-21 22:45:16 -07:00
Sergio Pedri b4bc12b092 Update assembly version in outdated unit tests 2024-08-21 22:44:31 -07:00
Sergio Pedri 9859a1db7a Update 'version.json' for 8.3.0 release 2024-08-21 22:13:13 -07:00
Sergio Pedri cc2aa2d4be Merge pull request #915 from CommunityToolkit/dev/trim-generated-code
Don't generate 'INotifyPropertyChanging' code if not requested
2024-08-20 23:37:26 -07:00
Sergio Pedri 761a22cff5 Forward generator options to FAWMN 2024-08-20 16:40:31 -07:00