Commit Graph

19 Commits

Author SHA1 Message Date
Sergio Pedri 6972de2fee Add "this." prefix to all field accesses 2022-06-11 16:28:44 +02:00
Nirmal Guru 41abf66445 Update EditorConfig and Git files
- Add default Git attributes.
- Update Git ignores to latest.
- Merge duplicate EditorConfig rules.
- Format projects to EditorConfig rules.
- Fix formatting errors in 'Guard.md' file.
2022-06-11 15:36:02 +02:00
Sergio Pedri bd4f365f01 Bump NuGet package reference versions 2022-01-13 21:53:49 +01:00
Sergio Pedri c096438a4a Add unit tests for new generic combinations 2022-01-04 13:25:00 +01:00
Sergio Pedri e9344a6f73 Add unit tests for new interpolated Guard APIs 2021-12-20 15:51:54 +01:00
Sergio Pedri 8eaea35c2a
Merge pull request #29 from CommunityToolkit/dev/guard-callerargumentexpression
Add [CallerArgumentExpression] to Guard APIs
2021-12-02 17:57:09 +01:00
Sergio Pedri 5275a50ba4 Update CommunityToolkit.Diagnostics to .NET 6 2021-11-22 17:37:20 +01:00
Sergio Pedri 744bfca7bb Add some sample unit tests 2021-11-15 10:54:48 +01:00
Sergio Pedri 7d68280215 Remove redundant [TestCategory] attributes 2021-11-04 21:48:54 +01:00
Sergio Pedri a5ef60ea4d Enable .NET Standard 2.0 tests through .NET Framework 4.7.2 2021-11-02 02:36:50 +01:00
Sergio Pedri a1db2247fc Fix failing unit tests 2021-11-02 00:11:58 +01:00
Sergio Pedri 51c7a67c20 More code style improvements and tweaks
- Remove unused namespaces
- Remove unused attributes
- Remove unnecessary #nullable enable directives
- Sort using directives
- Simplify names
2021-11-01 22:29:46 +01:00
Sergio Pedri 9f4c9fad7f Remove unnecessary using directives 2021-11-01 22:14:16 +01:00
Sergio Pedri 58c0dd96c4 Fix namespaces in unit test projects 2021-11-01 22:12:56 +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 25879bbaa4 Update NuGet packages in the solution 2021-11-01 19:01:04 +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