1
0
mirror of https://github.com/chylex/.NET-Community-Toolkit.git synced 2024-11-24 16:42:45 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
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
464e331149 Update System.Memory NuGet package to 4.5.5 2022-06-07 11:48:09 +02:00
Daniel Banda
f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
Sergio Pedri
aea8962e0e Remove unnecessary parameter 2022-03-21 17:39:26 +01:00
Sergio Pedri
ad9b068292 Remove Guard.Is[Not][NullOr]Whitespace 2022-03-21 17:37:19 +01: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
5d7f2a7674 Remove class constraint from Guaard.Is[Not]Null APIs 2022-01-04 13:24:59 +01:00
Sergio Pedri
f81cf4b4f9 Switch to target-type new() for direct return values 2022-01-01 17:02:31 +01:00
Sergio Pedri
57f4c3d97d Add [SkipLocalsInit] to missing assemblies 2022-01-01 16:54:47 +01:00
Sergio Pedri
14c6dc34fb Enable trimming support on all packages except MVVM Toolkit 2021-12-29 19:20:50 +01:00
Sergio Pedri
779cbfe60d Remove unnecessary linker unfriendly path in TypeExtensions 2021-12-29 19:20:50 +01:00
Sergio Pedri
0693d6c964 Fix leftover file-scoped namespaces 2021-12-29 18:56:14 +01:00
Sergio Pedri
e6b4ea354a Fix partial types in Diagnostics package 2021-12-29 18:51:11 +01:00
Sergio Pedri
d2568f2b6e Add [StackTraceHidden] to Guard.ThrowHelper type 2021-12-29 18:08:51 +01:00
Sergio Pedri
78c381f520 Add [StackTraceHidden] polyfill 2021-12-29 18:08:51 +01:00
Sergio Pedri
3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri
086249cba6 Add interpolated handler types for Guard.[IsTrue|IsFalse] 2021-12-20 15:47:39 +01:00
Sergio Pedri
102ba32808 Add dot to exception messages in Diagnostics package 2021-12-20 13:15:20 +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
465849003f Add [CallerArgumentExpression] to Guard APIs 2021-11-15 10:54:48 +01:00
Sergio Pedri
c8a17e6a25 Remove .NET Standard 1.4 targets 2021-11-02 11:35:50 +01:00
Sergio Pedri
93cb82a0d0 Fix incorrect whitespaces, minor code style tweaks 2021-11-02 00:01:05 +01:00
Sergio Pedri
6afdd81742 Refactor multiline variable declarations 2021-11-01 23:42:45 +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
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
11ab330e69 Enable nullability annotations in the entire solution 2021-11-01 19:27:55 +01:00
Sergio Pedri
768a9d39ed Streamline HighPerformance package project properties 2021-11-01 18:47:15 +01:00
Sergio Pedri
20f8ed1a59 Rename packages away from "Windows" name 2021-11-01 17:26:52 +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