Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Dec 12, 2024
1 parent a41bcaf commit e49f8fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ The package targets `netstandard2.0` and is designed to support the following ru
* `net5.0`, `net6.0`, `net7.0`, `net8.0`, `net9.0`


**API count: 412**<!-- singleLineInclude: apiCount. path: /apiCount.include.md -->
**API count: 414**<!-- singleLineInclude: apiCount. path: /apiCount.include.md -->


**See [Milestones](../../milestones?state=closed) for release notes.**
Expand Down Expand Up @@ -530,8 +530,8 @@ The class `Polyfill` includes the following extension methods:

#### Encoding

* `int GetBytes(ReadOnlySpan<char>, Span<byte>)`
* `string GetString(ReadOnlySpan<byte>)`
* `int GetBytes(Encoding, ReadOnlySpan<char>, Span<byte>)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getbytes?#system-text-encoding-getbytes(system-readonlyspan((system-char))-system-span((system-byte))))
* `string GetString(Encoding, ReadOnlySpan<byte>)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getstring#system-text-encoding-getstring(system-readonlyspan((system-byte))))


#### EventInfo
Expand Down
1 change: 1 addition & 0 deletions src/Tests/GlobalUsings.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
global using NUnit.Framework;
global using System;
global using System.Diagnostics.CodeAnalysis;
global using System.Text.RegularExpressions;
2 changes: 0 additions & 2 deletions src/Tests/PolyfillTests_Guid.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
using System.Text.RegularExpressions;

partial class PolyfillTests
{
static Regex guidV7Regex = new("^[0-9a-f]{8}(?:\\-[0-9a-f]{4}){3}-[0-9a-f]{12}$");
Expand Down

0 comments on commit e49f8fa

Please sign in to comment.