Sergio Pedri
5798dbccfd
Fix IDE suppression for new analyzer
2022-09-28 16:35:48 +02:00
Sergio Pedri
d85bbf41dc
Add ObservablePropertyAttributeWithPropertyTargetDiagnosticSuppressor
2022-09-28 16:35:48 +02:00
Sergio Pedri
f818268f84
Initial draft of forwarded explicit property attributes
2022-09-28 16:35:48 +02:00
Nirmal Guru
9b1ebda8f7
Cache .NET SDKs and Tools
...
- Cache everything under '$(Agent.ToolsDirectory)/dotnet'
directory to speed up the build. Check for changes in
the .NET SDK Version to invalidate and rebuild
the cache during subsequent builds.
2022-09-21 09:23:22 +05:30
Nirmal Guru
8b130496f5
Refactor and Simplify build definition
...
- Use 'windows-latest' image.
- Narrow Test Results path pattern.
- Do Restore separately from Build step.
- Don't do previous steps like restore/build.
- Use 'Build.Configuration' for 'Release' build.
- Remove tools that are already present in the image.
- Use Multi-Level lookup to use installed runtime(s).
This reduces the build time by 20% approx.
If .NET SDKs and NuGet packages are cached,
the build time further reduces by another 20%!
2022-09-21 09:23:22 +05:30
Sergio Pedri
e6257d8c65
Merge pull request #447 from Youssef1313/patch-1
...
Replace characters from StringBuilder to reduce string allocations
2022-09-20 13:48:50 -07:00
Youssef Victor
230af38fc3
Replace characters from StringBuilder to reduce string allocations
2022-09-20 08:15:19 +02:00
Sergio Pedri
1287507063
Merge pull request #444 from WeihanLi/readme-nuget-package-enhancement
...
readme enhancement for nuget package
2022-09-17 08:37:22 -07:00
Weihan Li and Nirmal Guru
2c270b1adc
Update README.md
...
Add link for `CommunityToolkit`
Co-authored-by: Nirmal Guru <Nirmal4G@ymail.com >
2022-09-17 16:56:27 +08:00
Weihan Li
47ef580a15
readme enhancement for nuget package
2022-09-17 03:33:19 +00:00
Sergio Pedri
1de395c909
Merge pull request #436 from CommunityToolkit/dev/use-fawmn
...
Use ForAttributeWithMetadataName<T> when possible
2022-09-16 04:47:02 -07:00
Sergio Pedri
f50c392037
Install the .NET Core 3.1 SDK in CI script
2022-09-16 13:24:25 +02:00
Sergio Pedri
9ad0e4bcc7
Install the .NET 6 SDK in CI script
2022-09-16 12:46:44 +02:00
Sergio Pedri
20940ee744
Suppress CA2252 warnings
2022-09-16 12:32:41 +02:00
Sergio Pedri
338172af68
Suppress CA1001 warnings in MVVM Toolkit
2022-09-16 04:04:21 +02:00
Sergio Pedri
d1bce29fbc
Workaround for ILLinker analyzer crash, fix trimming annotations
2022-09-16 04:02:42 +02:00
Sergio Pedri
3affd935ee
Install .NET SDK from CI script
2022-09-16 03:44:05 +02:00
Sergio Pedri
f73ff85e90
Merge pull request #439 from CommunityToolkit/readme-updates
...
Update URLs for Status Badges in Readme
2022-09-15 04:07:23 -07:00
Sergio Pedri
80b748f71a
Suppress IL2091 warnings where not needed
2022-09-15 01:26:21 +02:00
Sergio Pedri
faf1061c90
Add workaround for Roslyn 4.3 issues
2022-09-15 01:20:42 +02:00
Michael Hawker MSFT (XAML Llama)
a5cdb953c1
Update URLs for Status Badges in Readme
...
Fixes #422
2022-09-13 14:41:22 -07:00
Sergio Pedri
65110da12c
Restructure test projects into shared projects for multi-targeting
2022-09-13 13:33:05 +02:00
Sergio Pedri
2bc70f4d87
Fix embedded resource filenames
2022-09-12 23:57:09 +02:00
Sergio Pedri
434f5cc5e9
Remove custom output paths, fix assembly paths
2022-09-12 23:18:20 +02:00
Sergio Pedri
c98b03841d
Switch to expression for project name Roslyn version
2022-09-12 23:05:58 +02:00
Sergio Pedri
8569223a76
Restructure source generator into shared project
2022-09-12 22:45:08 +02:00
Sergio Pedri
4e43f2901e
Fix Roslyn multi-targeting and testing
2022-09-12 21:21:26 +02:00
Sergio Pedri
1e1ba013e8
Use ForAttributeWithMetadataName whenever possible
2022-09-10 18:39:38 +02:00
Sergio Pedri
3bb80e7223
Add polyfills for ForAttributeWithMetadataName
2022-09-10 18:39:38 +02:00
Sergio Pedri
b3b60f4797
Merge pull request #435 from CommunityToolkit/dev/no-symbols-ivp
...
Don't use ISymbol in IncrementalValuesProvider<T> nodes
2022-09-10 14:34:43 +02:00
Sergio Pedri
b6dd39b4d1
Improve syntactical filtering for messaging/validator generators
2022-09-10 14:12:23 +02:00
Sergio Pedri
27cd6b47a6
Don't propagate symbols in TransitiveMembersGenerator
2022-09-10 14:12:23 +02:00
Sergio Pedri
5f90862efc
Don't propagate symbols in ObservableValidatorValidateAllPropertiesGenerator
2022-09-10 03:31:39 +02:00
Sergio Pedri
f1f3f9c6c6
Don't propagate symbols in ObservablePropertyGenerator
2022-09-10 03:27:09 +02:00
Sergio Pedri
73ebfb5269
Don't propagate symbols in IMessengerRegisterAllGenerator
2022-09-10 03:09:13 +02:00
Sergio Pedri
bf98ede74c
Don't propagate symbols in RelayCommandGenerator
2022-09-10 03:08:36 +02:00
Sergio Pedri
5876242950
Merge pull request #434 from CommunityToolkit/dev/orphaned-fields-analyzer
...
Move diagnostics for orphaned observable property attributes to analyzer
2022-09-10 03:05:12 +02:00
Sergio Pedri
b8749fe544
Switch orphaned fields diagnostics to analyzer
2022-09-10 02:48:36 +02:00
Sergio Pedri
94db183386
Add FieldWithOrphanedDependentObservablePropertyAttributesAnalyzer
2022-09-10 02:48:36 +02:00
Sergio Pedri
82ccd6c0db
Merge pull request #433 from CommunityToolkit/dev/language-filter-analyzer
...
Move language diagnostics to diagnostic analyzers
2022-09-10 02:04:11 +02:00
Sergio Pedri
57832d14ec
Fix Roslyn 4.0.1 unit test runs in CI script
2022-09-10 01:40:34 +02:00
Sergio Pedri
f3cbf78bf4
Adjust analyzer diagnostics unit tests to work on all TFMs
2022-09-10 01:38:05 +02:00
Sergio Pedri
31745cb1c3
Update generator/analyzer diagnostics unit tests
2022-09-10 00:10:41 +02:00
Sergio Pedri
34867232d6
Don't emit repeated diagnostics for same symbols
2022-09-10 00:10:28 +02:00
Sergio Pedri
408ac01508
Disable IMessenger and ObservableValidator when not on C# 8
2022-09-10 00:10:14 +02:00
Sergio Pedri
0a331c1da2
Defer UnsupportedCSharpLanguageVersionAnalyzer symbol action registration
2022-09-09 18:18:22 +02:00
Sergio Pedri
57055d7ca8
Add CSharpAnalyzerWithLanguageVersionTest<TAnalyzer> test helper
2022-09-09 16:09:50 +02:00
Sergio Pedri
e4ed10bcc3
Fix condition in UnsupportedCSharpLanguageVersionAnalyzer
2022-09-09 16:09:20 +02:00
Sergio Pedri
80625ef8f9
Remove FilterWithLanguageVersion method
2022-09-09 14:20:37 +02:00
Sergio Pedri
f9e63fb09b
Check parse options in UnsupportedCSharpLanguageVersionAnalyzer
2022-09-09 13:43:02 +02:00