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
Sergio Pedri
5591ddb9ff
Minor style tweaks
2022-06-12 14:21:47 +02:00
Oron Feinerman
76e1900334
Code style fix
2022-06-12 10:46:34 +03:00
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
464e331149
Update System.Memory NuGet package to 4.5.5
2022-06-07 11:48:09 +02:00
Sergio Pedri
5a0c5ee6d9
Add two missing ConfigureAwait(false) calls
2022-06-06 15:18:41 +02:00
Hank McCord
376a2e2f4b
Update InternalsVisibleTo usages with public token
2022-06-02 22:04:08 -04:00
Oron Feinerman
64587e248e
Implement MemorySource<TSource>.CopyToAsync
via WriteAsync
2022-05-24 13:09:34 +03:00
Oron Feinerman
b66f7c5134
Add Memory
property to ISpanOwner
2022-05-24 12:49:23 +03:00
Daniel Banda
f2dce06b4d
Fixing some typos.
2022-05-03 21:21:10 -07: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
Adam Dernis
94bf93aac8
Fixed typos in Span2D implicit operators
2022-03-02 12:59:01 -05: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
14c6dc34fb
Enable trimming support on all packages except MVVM Toolkit
2021-12-29 19:20:50 +01:00
Sergio Pedri
cb4e418ad3
Refactor remaining partial type declarations
2021-12-29 18:56:14 +01:00
Sergio Pedri
4109697aa7
Enable usage of Vector<T>.Sum on .NET 6
...
See https://github.com/dotnet/runtime/issues/35626
2021-12-29 18:08:06 +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
f6b604a824
Add dot to exception messages in remaining call sites
2021-12-20 13:15:20 +01:00
Sergio Pedri
cefd1f7c1a
Fix RuntimeHelpers.IsReferenceOrContainsReferences polyfill
2021-12-20 13:00:49 +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
bfc72c4944
Update BitOperations.RoundUpToPowerOf2 polyfill
2021-11-22 17:49:21 +01:00
Sergio Pedri
1d420b780c
Update CommunityToolkit.HighPerformance to .NET 6
2021-11-22 17:37:34 +01:00
Sergio Pedri
6fac6dd5a9
Remove leftover GetTypeInfo() calls
2021-11-15 12:09:45 +01:00
Sergio Pedri
c8a17e6a25
Remove .NET Standard 1.4 targets
2021-11-02 11:35:50 +01:00
Sergio Pedri
639530f578
Add missing compiler directives for framework specific helpers
2021-11-02 01:34:21 +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
25879bbaa4
Update NuGet packages in the solution
2021-11-01 19:01:04 +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
20f8ed1a59
Rename packages away from "Windows" name
2021-11-01 17:26:52 +01:00