Commit Graph

2471 Commits

Author SHA1 Message Date
Sergio Pedri 8f0e82f2fc More 'RequiresCSharpLanguageVersionPreviewAnalyzer' tests 2024-11-13 18:05:37 -08:00
Sergio Pedri 685bb3acaf Remove leftover analyzer test code 2024-11-13 18:05:28 -08:00
Sergio Pedri 028a06590a Merge pull request #926 from Poker-sang/poker/fix-issue-template
Allow code blocks in issue template
2024-11-13 16:55:50 -08:00
Sergio Pedri 8e34739cc2 Merge pull request #985 from CommunityToolkit/dev/remove-net6
Remove .NET 6 TFM
2024-11-13 09:31:01 -08:00
Sergio Pedri 15867433e8 Update code paths for .NET 7 as base 2024-11-13 09:10:53 -08:00
Sergio Pedri a51efde86d Remove .NET 8 TFM from all projects 2024-11-13 08:57:07 -08:00
Sergio Pedri 8b947227a9 Merge pull request #984 from CommunityToolkit/dev/move-diagnostics-target-members
Improve locations resolution for new analyzers
2024-11-13 08:55:41 -08:00
Sergio Pedri 4e6cf2bc21 Improve logic to find target symbol locations 2024-11-13 00:32:47 -08:00
Sergio Pedri 50d8ff5b8e Generate new diagnostics on target symbols 2024-11-13 00:07:52 -08:00
Sergio Pedri 3393d30d0a Merge pull request #981 from CommunityToolkit/dev/winrt-class-generator-analyzers
Add more WinRT analyzers for class-level attributes
2024-11-08 18:17:42 -08:00
Sergio Pedri ae66c28c6c Add unit tests for new WinRT analyzer 2024-11-08 17:55:27 -08:00
Sergio Pedri a74423d1b3 Run WinRT '[RelayCommand]' tests for all Roslyn-s 2024-11-08 17:41:51 -08:00
Sergio Pedri 16deedf3a0 Add 'WinRTClassUsingNotifyPropertyChangedAttributesAnalyzer' 2024-11-08 15:32:26 -08:00
Sergio Pedri 1f0a2d3b47 Merge pull request #980 from CommunityToolkit/dev/embedded-roslyn-pdbs
Embed .pdb files for all analyzer projects
2024-11-08 00:04:39 -08:00
Sergio Pedri a285a1eaf4 Embed .pdb files for all analyzer projects 2024-11-07 23:43:01 -08:00
Sergio Pedri 77ede78498 Merge pull request #979 from CommunityToolkit/dev/winrt-analyzers
Add MVVM Toolkit analyzers for WinRT scenarios
2024-11-07 23:35:52 -08:00
Sergio Pedri ec0a331005 Add unit tests for all WinRT analyzers 2024-11-07 23:12:51 -08:00
Sergio Pedri 7ba700ef68 Fix some analyzer bugs 2024-11-07 23:12:35 -08:00
Sergio Pedri c6ca94dec3 Minor code refactoring to internal extensions 2024-11-07 19:06:53 -08:00
Sergio Pedri f74269bcd0 Fix formatting in '[ObservableProperty]' diagnostics 2024-11-07 17:07:03 -08:00
Sergio Pedri 171ba41d61 Tweaks to the '[ObservableProperty]' code fixer 2024-11-07 17:04:19 -08:00
Sergio Pedri e2c33e78f4 Add 'WinRTGeneratedBindableCustomPropertyWithBasesMemberAnalyzer' 2024-11-07 13:02:06 -08:00
Sergio Pedri 374b2d0fef Use 'GetMSBuildBooleanPropertyValue' in more places 2024-11-07 11:09:10 -08:00
Sergio Pedri 729e96c108 Add 'WinRTRelayCommandIsNotGeneratedBindablePropertyProviderCompatibleAnalyzer' 2024-11-07 11:09:10 -08:00
Sergio Pedri 24064de876 Add 'WinRTObservablePropertyOnFieldsIsNotAotCompatibleAnalyzer' 2024-11-06 22:07:29 -08:00
Sergio Pedri 1599d68b9b Add 'CommunityToolkit.Mvvm.Windows.targets' 2024-11-06 21:36:53 -08:00
Sergio Pedri 1fe18f4231 Merge pull request #973 from CommunityToolkit/dev/remove-this-code-fixer
Remove 'this.' expressions in partial property code fixer
2024-10-28 22:48:31 -07:00
Sergio Pedri 8f480bc4ef Add unit test for 'this.' expressions 2024-10-28 21:47:32 -07:00
Sergio Pedri d2ff32ca66 Remove 'this.' from partial property code fixer 2024-10-28 21:47:04 -07:00
Sergio Pedri f924bc27c7 Merge pull request #972 from CommunityToolkit/dev/multi-target-code-fixers
Handle 'required' fields in partial property code fixer
2024-10-28 21:45:49 -07:00
Sergio Pedri fab668d11b Add unit test for 'required' fields 2024-10-28 19:53:44 -07:00
Sergio Pedri bf49905b6b Handle 'required' on fields 2024-10-28 19:53:37 -07:00
Sergio Pedri bd4abe9b4d Build and pack Roslyn 4.11 code fixers 2024-10-28 19:41:29 -07:00
Sergio Pedri e4f8766f44 Add code fixer project for Roslyn 4.11 2024-10-28 19:40:48 -07:00
Sergio Pedri 00320713e2 Switch code fixers to shared project configuration 2024-10-28 19:38:12 -07:00
Sergio Pedri 8bc25ff4b7 Mode code fixer files to shared project 2024-10-28 19:30:37 -07:00
Sergio Pedri f6fb902f9e Rename 'CodeFixers' for Roslyn 4.0 2024-10-28 19:28:46 -07:00
Sergio Pedri b77ba0d749 Merge pull request #970 from CommunityToolkit/dev/partial-property-fixes
Bug fixes to generated partial properties
2024-10-28 09:59:59 -07:00
Sergio Pedri 73e7a88a4b Add unit test for required properties 2024-10-28 09:22:09 -07:00
Sergio Pedri e82074f290 Support required properties in codegen 2024-10-28 09:22:09 -07:00
Sergio Pedri a87344925c Fix targets for '[NotifyPropertyChangedRecipients]' 2024-10-28 09:09:00 -07:00
Sergio Pedri 812f545635 Merge pull request #968 from CommunityToolkit/dev/move-diagnostics-to-analyzers
Move some diagnostics to analyzers
2024-10-27 18:56:06 -07:00
Sergio Pedri 143df8e101 Add 'InvalidGeneratedPropertyObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri ead5b1163b Add 'PropertyNameCollisionObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri 0b5dfb2d24 Add 'InvalidTargetObservablePropertyAttributeAnalyzer' 2024-10-27 18:09:32 -07:00
Sergio Pedri 1f6fdad4f6 Merge pull request #967 from CommunityToolkit/dev/update-nuget
Update NuGet packages to latest stable
2024-10-27 15:20:19 -07:00
Sergio Pedri f9c7bc3e87 Update NuGet packages to latest stable 2024-10-27 14:54:54 -07:00
Sergio Pedri 48ed1b42a8 Merge pull request #966 from CommunityToolkit/dev/partial-properties
Add support for partial properties for [ObservableProperty]
2024-10-27 14:50:47 -07:00
Sergio Pedri a7840b2c75 Don't run analyzers on generated code 2024-10-26 11:08:34 -07:00
Sergio Pedri 0a81f27b98 Support field initializers in code fixer 2024-10-25 00:05:22 -07:00