Commit Graph

31 Commits

Author SHA1 Message Date
Sergio Pedri 5a0c5ee6d9 Add two missing ConfigureAwait(false) calls 2022-06-06 15:18:41 +02:00
ovska 2e1f1fe96e Add EnsureCapacity to ArrayPool extensions 2022-04-08 19:05:21 +03:00
Sergio Pedri 3b3c8b1a00
Merge pull request #183 from CommunityToolkit/dev/remove-spinlock-object-extension
Remove SpinLock extension taking an object
2022-04-04 19:47:47 +02:00
Sergio Pedri 0e2a94c908
Merge pull request #190 from CommunityToolkit/dev/fix-indexof-return
Change IndexOf APIs to return -1 if not found
2022-04-04 19:47:09 +02:00
Sergio Pedri 76f339fa88 Remove leftover XML doc 2022-03-30 21:59:02 +02:00
Sergio Pedri bffc3d72f8 Change IndexOf APIs to return -1 if not found 2022-03-30 20:37:07 +02:00
Sergio Pedri 40d06fa8e5 Fix XML docs 2022-03-28 14:04:49 +02:00
Sergio Pedri 3d5fd97bce Fix MissingMethodExceptions for Stream extensions 2022-03-28 13:59:05 +02:00
Sergio Pedri 760c3c2096 Remove SpinLock extension taking an object 2022-03-28 13:43:21 +02:00
Sergio Pedri f8ca8da76a Add [RequiresPreviewFeatures] to unsafe APIs 2022-01-01 20:11:13 +01:00
Sergio Pedri f81cf4b4f9 Switch to target-type new() for direct return values 2022-01-01 17:02:31 +01:00
Sergio Pedri cb4e418ad3 Refactor remaining partial type declarations 2021-12-29 18:56:14 +01:00
Sergio Pedri 3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri f6b604a824 Add dot to exception messages in remaining call sites 2021-12-20 13:15:20 +01:00
Sergio Pedri 12866a364d Add DangerousGetValueOrNullReference<T> extension 2021-12-17 13:58:11 +01:00
Sergio Pedri b155e0456b Fix incorrect namespace for NullableExtensions 2021-12-17 13:54:29 +01:00
Sergio Pedri 1f837ee81b Add .NET 6 fast paths for array extensions 2021-11-23 15:24:51 +01:00
Sergio Pedri 48ab1dda62 Streamline some build conditional blocks 2021-11-22 17:55:01 +01:00
Sergio Pedri 1d420b780c Update CommunityToolkit.HighPerformance to .NET 6 2021-11-22 17:37:34 +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 9f4c9fad7f Remove unnecessary using directives 2021-11-01 22:14:16 +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 941098338f Remove .NET Core 2.1 targets 2021-11-01 17:48:32 +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