Commit Graph

37 Commits

Author SHA1 Message Date
Sergio Pedri 8528092ed2
Merge pull request #266 from OronDF343/add-memorystream-copytoasync
Asynchronous implementation of `MemorySource<TSource>.CopyToAsync`
2022-07-06 15:08:52 +02:00
Oron Feinerman b831020f70 Add unit tests for `CopyTo` and `CopyToAsync` 2022-06-12 10:45:39 +03:00
Sergio Pedri d4a8971ff6
Merge pull request #237 from danielbanda/Typos
Typos
2022-05-25 20:12:29 +02:00
Sergio Pedri d1f7c051aa Resolve some build warnings 2022-05-09 15:58:40 +02:00
Daniel Banda f2dce06b4d Fixing some typos. 2022-05-03 21:21:10 -07:00
ovska 714576210d Test ArrayPoolExtensions.EnsureCapacity 2022-04-08 19:05:21 +03:00
ovska 98f450ae9c Fix outdated test method names for ArrayPoolExtensions 2022-04-05 20:48:01 +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 bffc3d72f8 Change IndexOf APIs to return -1 if not found 2022-03-30 20:37:07 +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 bd4f365f01 Bump NuGet package reference versions 2022-01-13 21:53:49 +01: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 6d7bf0dd14 Add vectorized Count<T> support for nint/nuint 2021-12-29 18:08:05 +01:00
Sergio Pedri 3e61aeb3c1 Remove [Pure] attribute usages 2021-12-29 18:06:54 +01:00
Sergio Pedri cefd1f7c1a Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill 2021-12-20 13:00:49 +01:00
Sergio Pedri c1c52da44d Add new NullableExtensions unit tests 2021-12-17 14:02:19 +01:00
Sergio Pedri b155e0456b Fix incorrect namespace for NullableExtensions 2021-12-17 13:54:29 +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 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 eab4b9ed28 More whitespaces and code style tweaks 2021-11-02 00:28:30 +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 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 11ab330e69 Enable nullability annotations in the entire solution 2021-11-01 19:27:55 +01:00
Sergio Pedri 25879bbaa4 Update NuGet packages in the solution 2021-11-01 19:01:04 +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