Commit Graph
15 Commits
Author SHA1 Message Date
Sergio Pedri 77c7ef2b15 Update NuGet packages to latest stable 2023-05-08 12:46:49 +02:00
Sergio Pedri 1537e98edb Bump NuGet packages to latest stable 2023-03-10 01:47:17 +01:00
Sergio Pedri 0ea77c3aae Add codegen test for filename hints on Roslyn 4.0.1 2023-02-14 13:49:29 +01:00
Sergio Pedri 3b2226bb29 Add draft of ClassUsingAttributeInsteadOfInheritanceCodeFixer tests 2023-01-26 22:55:02 +01:00
Sergio Pedri e7a79c3c5b Rename code fixer project to CommunityToolkit.Mvvm.CodeFixers 2023-01-23 16:53:47 +01:00
Sergio Pedri 1be2fa125d Pack code fixer project in the MVVM Toolkit package 2023-01-23 01:07:22 +01:00
Sergio Pedri 6ee8d7cff7 Update code style to follow repo conventions 2023-01-23 00:49:14 +01:00
Fredric Silberberg 78d37ab700 Use specific reference assemblies to resolve test errors, mark fixer shared. 2023-01-22 15:11:53 -08:00
Fredric Silberberg 441abbbdbc Add fixers project and implement a fixer for FieldReferenceForObservablePropertyFieldAnalyzer
This adds a fixer for MVVMTK0034, that simply swaps the field reference for what will be generated for the property. It leaves the qualification intact, basically just doing a text swap. Because it's very a very simple fixer, the built-in batch fixall provider works just fine and does not need special handling.

While I implemented the fixer and added some tests, I did not actually set up all the msbuild goop for properly packaging this as part of the existing packages (as, frankly, the multi-targeting and msbuild setup in this repo is very complicated and I didn't feel like trying to grok exactly how to add it given the setup). The fixer assembly needs to be put next to the analyzer assemblies. This PR will be editable by maintainers, so feel free to implement this in-place in the PR itself.

Fixes https://github.com/CommunityToolkit/dotnet/issues/577.
2023-01-21 23:16:11 -08:00
Sergio Pedri bc740416e2 Update NuGet packages to latest stable releases 2022-12-22 14:13:30 +01:00
Sergio Pedri 1f60a7bd4e Move all source files into src\ subfolder 2022-11-21 17:25:07 +01:00
Sergio Pedri ffb818aa15 Switch .NET Core 3.1 TFM in tests to .NET 7 2022-11-16 01:48:01 +01:00
Sergio Pedri 8730e39067 Bump NuGet packages to latest stable versions 2022-11-15 19:47:43 +01:00
Sergio Pedri 233c4f2421 Update all Roslyn and test SDKs to latest stable 2022-10-04 13:53:37 +02:00
Sergio Pedri 65110da12c Restructure test projects into shared projects for multi-targeting 2022-09-13 13:33:05 +02:00