{"id":13593757,"url":"https://github.com/SimonCropp/Polyfill","last_synced_at":"2025-04-09T05:32:08.995Z","repository":{"id":142269770,"uuid":"608868908","full_name":"SimonCropp/Polyfill","owner":"SimonCropp","description":"Source only package that exposes newer .net and C# features to older runtimes.","archived":false,"fork":false,"pushed_at":"2024-10-27T12:14:32.000Z","size":1379,"stargazers_count":279,"open_issues_count":1,"forks_count":21,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T16:13:42.418Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimonCropp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"contributing.md","funding":".github/FUNDING.yml","license":"license.txt","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"SimonCropp"}},"created_at":"2023-03-02T22:42:46.000Z","updated_at":"2024-10-29T07:51:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"64ae32a7-2686-476f-b4dc-9858ddc7034b","html_url":"https://github.com/SimonCropp/Polyfill","commit_stats":{"total_commits":861,"total_committers":17,"mean_commits":50.64705882352941,"dds":0.07897793263646924,"last_synced_commit":"2b96aa6cfecd54ccac5c24b339fe02979f74f705"},"previous_names":[],"tags_count":94,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FPolyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FPolyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FPolyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FPolyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonCropp","download_url":"https://codeload.github.com/SimonCropp/Polyfill/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246962888,"owners_count":20861368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T16:01:24.175Z","updated_at":"2025-04-09T05:32:08.980Z","avatar_url":"https://github.com/SimonCropp.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":["others","C#","C\\#"],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\"\u003e Polyfill\n\n[![Build status](https://ci.appveyor.com/api/projects/status/s6eqqg4ipeovebgd?svg=true)](https://ci.appveyor.com/project/SimonCropp/Polyfill)\n[![Polyfill NuGet Status](https://img.shields.io/nuget/v/Polyfill.svg)](https://www.nuget.org/packages/Polyfill/)\n\nSource only package that exposes newer .NET and C# features to older runtimes.\n\nThe package targets `netstandard2.0` and is designed to support the following runtimes.\n\n * `net461`, `net462`, `net47`, `net471`, `net472`, `net48`, `net481`\n * `netcoreapp2.0`, `netcoreapp2.1`, `netcoreapp3.0`, `netcoreapp3.1`\n * `net5.0`, `net6.0`, `net7.0`, `net8.0`, `net9.0`, `net10.0`\n\n\n**API count: 539**\u003c!-- singleLineInclude: apiCount. path: /apiCount.include.md --\u003e\n\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\n\n### Powered by\n\n[![JetBrains logo.](https://resources.jetbrains.com/storage/products/company/brand/logos/jetbrains.svg)](https://jb.gg/OpenSourceSupport)\n\n\n## TargetFrameworks\n\nSome polyfills are implemented in a way that will not always have the equivalent performance to the actual implementations.\n\nFor example the polyfill for `StringBuilder.Append(ReadOnlySpan\u003cchar\u003e)` on netcore2 is:\n\n```\npublic StringBuilder Append(ReadOnlySpan\u003cchar\u003e value)\n    =\u003e target.Append(value.ToString());\n```\n\nWhich will result in a string allocation.\n\nAs Polyfill is implemented as a source only nuget, the implementation for each polyfill is compiled into the IL of the consuming assembly. As a side-effect that implementation will continue to be used even if that assembly is executed in a runtime that has a more efficient implementation available.\n\nAs a result, in the context of a project producing nuget package, that project should target all frameworks from the lowest TargetFramework up to and including the current framework. This way the most performant implementation will be used for each runtime. Take the following examples:\n\n * If a nuget's minimum target is net6, then the resulting TargetFrameworks should also include net7.0 and net8.0\n * If a nuget's minimum target is net471, then the resulting TargetFrameworks should also include net472 and net48\"\n\n\n## Nuget\n\nhttps://nuget.org/packages/Polyfill/\n\n\n### SDK / LangVersion\n\nThis project uses features from the current stable SDK and C# language. As such consuming projects should target those:\n\n\n### LangVersion\n\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n  \u003cPropertyGroup\u003e\n    \u003cLangVersion\u003elatest\u003c/LangVersion\u003e\n```\n\n\n### global.json\n\n\u003c!-- snippet: global.json --\u003e\n\u003ca id='snippet-global.json'\u003e\u003c/a\u003e\n```json\n{\n  \"sdk\": {\n    \"version\": \"10.0.100-preview.3.25156.15\",\n    \"allowPrerelease\": true,\n    \"rollForward\": \"latestFeature\"\n  }\n}\n```\n\u003csup\u003e\u003ca href='/src/global.json#L1-L7' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-global.json' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n## Consuming and type visibility\n\nThe default type visibility for all polyfills is `internal`. This means it can be consumed in multiple projects and types will not conflict.\n\n\n### Consuming in an app\n\nIf Polyfill is being consumed in a solution that produce an app, then it is recommended to use the Polyfill nuget only in the root \"app project\" and enable `PolyPublic`.\n\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n  \u003cPropertyGroup\u003e\n    \u003cPolyPublic\u003etrue\u003c/PolyPublic\u003e\n```\n\nThen all consuming projects, like tests, will not need to use the Polyfill nuget.\n\n\n### Consuming in a library\n\nIf Polyfill is being consumed in a solution that produce a library (and usually a nuget), then the Polyfill nuget can be added to all projects.\n\nIf, however, `InternalsVisibleTo` is being used to expose APIs (for example to test projects), then the Polyfill nuget should be added only to the root library project.\n\n\n## Troubleshooting\n\nMake sure `DefineConstants` is not set from dotnet CLI, which would override important constants set by Polyfill.\n\nInstead of using `dotnet publish -p:DefineConstants=MY_CONSTANT`, set the constant indirectly in the project:\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n  \u003cPropertyGroup\u003e\n    \u003cDefineConstants Condition=\"'$(MyConstant)' == 'true'\"\u003e$(DefineConstants);MY_CONSTANT\u003c/DefineConstants\u003e\n```\nand use `dotnet publish -p:MyConstant=true`.\n\n\n## Included polyfills\n\n\n### ModuleInitializerAttribute\n\n * [ModuleInitializerAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.moduleinitializerattribute)\n\nReference: [Module Initializers](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/module-initializers)\n\n\u003c!-- snippet: ModuleInitializerAttribute --\u003e\n\u003ca id='snippet-ModuleInitializerAttribute'\u003e\u003c/a\u003e\n```cs\nstatic bool InitCalled;\n\n[Test]\npublic void ModuleInitTest() =\u003e\n    Assert.True(InitCalled);\n\n[ModuleInitializer]\npublic static void ModuleInit() =\u003e\n    InitCalled = true;\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitSample.cs#L4-L16' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-ModuleInitializerAttribute' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### IsExternalInit\n\nReference: [init (C# Reference)](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/init)\n\n\u003c!-- snippet: IsExternalInit --\u003e\n\u003ca id='snippet-IsExternalInit'\u003e\u003c/a\u003e\n```cs\nclass InitSample\n{\n    public int Member { get; init; }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/InitSample.cs#L1-L8' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-IsExternalInit' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### Nullable attributes\n\n  * [AllowNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.allownullattribute)\n  * [DisallowNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.disallownullattribute)\n  * [DoesNotReturnAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.doesnotreturnattribute)\n  * [DoesNotReturnIfAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.doesnotreturnifattribute)\n  * [MaybeNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.maybenullattribute)\n  * [MaybeNullWhenAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.maybenullwhenattribute)\n  * [MemberNotNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.membernotnullattribute)\n  * [MemberNotNullWhenAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.membernotnullwhenattribute)\n  * [NotNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.notnullattribute)\n  * [NotNullIfNotNullAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.notnullifnotnullattribute)\n  * [NotNullWhenAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.notnullwhenattribute)\n\nReference: [Nullable reference types](https://learn.microsoft.com/en-us/dotnet/csharp/nullable-references)\n\n\n### Required attributes\n\n * [RequiredMemberAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.requiredmemberattribute)\n * [SetsRequiredMembersAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.setsrequiredmembersattribute)\n\nReference: [C# required modifier](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/required)\n\n\u003c!-- snippet: Required --\u003e\n\u003ca id='snippet-Required'\u003e\u003c/a\u003e\n```cs\npublic class Person\n{\n    public Person()\n    {\n    }\n\n    [SetsRequiredMembers]\n    public Person(string name) =\u003e\n        Name = name;\n\n    public required string Name { get; init; }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/SetsRequiredMembersUsage.cs#L3-L18' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Required' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### CompilerFeatureRequiredAttribute\n\n * [CompilerFeatureRequiredAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.compilerfeaturerequiredattribute)\n\n\u003e Indicates that compiler support for a particular feature is required for the location where this attribute is applied.\n\n\n### CollectionBuilderAttribute\n\n * [CollectionBuilderAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.collectionbuilderattribute)\n\n\u003e Can be used to make types compatible with collection expressions\n\n\n### ConstantExpectedAttribute\n\n * [ConstantExpectedAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.constantexpectedattribute)\n\n\u003e Indicates that the specified method parameter expects a constant.\n\n\n### SkipLocalsInit\n\n * [SkipLocalsInitAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.skiplocalsinitattribute)\n\nReference: [SkipLocalsInitAttribute](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/attributes/general#skiplocalsinit-attribute)\n\n\u003e the SkipLocalsInit attribute prevents the compiler from setting the .locals init flag when emitting to metadata. The SkipLocalsInit attribute is a single-use attribute and can be applied to a method, a property, a class, a struct, an interface, or a module, but not to an assembly. SkipLocalsInit is an alias for SkipLocalsInitAttribute.\n\n\u003c!-- snippet: SkipLocalsInit --\u003e\n\u003ca id='snippet-SkipLocalsInit'\u003e\u003c/a\u003e\n```cs\nclass SkipLocalsInitSample\n{\n    [SkipLocalsInit]\n    static void ReadUninitializedMemory()\n    {\n        Span\u003cint\u003e numbers = stackalloc int[120];\n        for (var i = 0; i \u003c 120; i++)\n        {\n            Console.WriteLine(numbers[i]);\n        }\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/UnsafeTests/SkipLocalsInitExample.cs#L1-L16' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-SkipLocalsInit' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### Index and Range\n\nReference: [Indices and ranges](https://learn.microsoft.com/en-us/dotnet/csharp/tutorials/ranges-indexes)\n\nIf consuming in a project that targets net461 or net462, a reference to System.ValueTuple is required. See [References: System.ValueTuple](#systemvaluetuple).\n\n\u003c!-- snippet: IndexRange --\u003e\n\u003ca id='snippet-IndexRange'\u003e\u003c/a\u003e\n```cs\n[TestFixture]\nclass IndexRangeSample\n{\n    [Test]\n    public void Range()\n    {\n        var substring = \"value\"[2..];\n        Assert.AreEqual(\"lue\", substring);\n    }\n\n    [Test]\n    public void Index()\n    {\n        var ch = \"value\"[^2];\n        Assert.AreEqual('u', ch);\n    }\n\n    [Test]\n    public void ArrayIndex()\n    {\n        var array = new[]\n        {\n            \"value1\",\n            \"value2\"\n        };\n\n        var value = array[^2];\n\n        Assert.AreEqual(\"value1\", value);\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/IndexRangeSample.cs#L1-L35' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-IndexRange' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### OverloadResolutionPriority\n\n * [Release Notes](https://github.com/dotnet/core/blob/main/release-notes/9.0/preview/preview7/csharp.md#prioritize-better-overloads-with-overloadresolutionpriority-attribute)\n\n\u003e C# introduces a new attribute, System.Runtime.CompilerServices.OverloadResolutionPriority, that can be used by API authors to adjust the relative priority of overloads within a single type as a means of steering API consumers to use specific APIs, even if those APIs would normally be considered ambiguous or otherwise not be chosen by C#'s overload resolution rules. This helps framework and library authors guide API usage as they APIs as they develop new and better patterns.\n\u003e\n\u003e The OverloadResolutionPriorityAttribute can be used in conjunction with the ObsoleteAttribute. A library author may mark properties, methods, types and other programming elements as obsolete, while leaving them in place for backwards compatibility. Using programming elements marked with the ObsoleteAttribute will result in compiler warnings or errors. However, the type or member is still visible to overload resolution and may be selected over a better overload or cause an ambiguity failure. The OverloadResolutionPriorityAttribute lets library authors fix these problems by lowering the priority of obsolete members when there are better alternatives.\n\n * [API on learn](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.overloadresolutionpriorityattribute.-ctor)\n * [API Proposal](https://github.com/dotnet/runtime/issues/102173)\n\n\n#### Usage\n\n\u003c!-- snippet: OverloadResolutionPriority --\u003e\n\u003ca id='snippet-OverloadResolutionPriority'\u003e\u003c/a\u003e\n```cs\n[TestFixture]\npublic class OverloadResolutionPriorityAttributeTests\n{\n    [Test]\n    public void Run()\n    {\n        int[] arr = [1, 2, 3];\n        //Prints \"Span\" because resolution priority is higher\n        Method(arr);\n    }\n\n    [OverloadResolutionPriority(2)]\n    static void Method(ReadOnlySpan\u003cint\u003e list) =\u003e\n        Console.WriteLine(\"Span\");\n\n    [OverloadResolutionPriority(1)]\n    static void Method(int[] list) =\u003e\n        Console.WriteLine(\"Array\");\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/OverloadResolutionPriorityAttributeTests.cs#L4-L26' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-OverloadResolutionPriority' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### UnscopedRefAttribute\n\n * [UnscopedRefAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.unscopedrefattribute)\n\nReference: [Low Level Struct Improvements](https://github.com/dotnet/csharplang/blob/main/proposals/csharp-11.0/low-level-struct-improvements.md)\n\n\u003c!-- snippet: UnscopedRefUsage --\u003e\n\u003ca id='snippet-UnscopedRefUsage'\u003e\u003c/a\u003e\n```cs\nstruct UnscopedRefUsage\n{\n    int field1;\n\n    [UnscopedRef] ref int Prop1 =\u003e ref field1;\n}\n```\n\u003csup\u003e\u003ca href='/src/Consume/UnscopedRefUsage.cs#L5-L12' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-UnscopedRefUsage' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### RequiresPreviewFeaturesAttribute\n\n * [RequiresPreviewFeatures](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.requirespreviewfeaturesattribute)\n * [Design](https://github.com/dotnet/designs/blob/main/accepted/2021/preview-features/preview-features.md)\n * [API Proposal](https://github.com/dapr/dotnet-sdk/issues/1219)\n\n\n### CallerArgumentExpressionAttribute\n\n * [CallerArgumentExpressionAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.callerargumentexpressionattribute)\n\nReference: [CallerArgumentExpression](https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-10.0/caller-argument-expression)\n\n\u003c!-- snippet: CallerArgumentExpression --\u003e\n\u003ca id='snippet-CallerArgumentExpression'\u003e\u003c/a\u003e\n```cs\nstatic class FileUtil\n{\n    public static void FileExists(string path, [CallerArgumentExpression(\"path\")] string argumentName = \"\")\n    {\n        if (!File.Exists(path))\n        {\n            throw new ArgumentException($\"File not found. Path: {path}\", argumentName);\n        }\n    }\n}\n\nstatic class FileUtilUsage\n{\n    public static string[] Method(string path)\n    {\n        FileUtil.FileExists(path);\n        return File.ReadAllLines(path);\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/CallerArgumentExpressionUsage.cs#L1-L22' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-CallerArgumentExpression' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\n\n### InterpolatedStringHandler\n\n * [AppendInterpolatedStringHandler](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendinterpolatedstringhandler)\n * [DefaultInterpolatedStringHandler](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.defaultinterpolatedstringhandler)\n * [InterpolatedStringHandlerAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.interpolatedstringhandlerattribute)\n * [InterpolatedStringHandlerArgumentAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.interpolatedstringhandlerargumentattribute)\n * [ISpanFormattable](https://learn.microsoft.com/en-us/dotnet/api/system.ispanformattable)\n\nReferences: [String Interpolation in C# 10 and .NET 6](https://devblogs.microsoft.com/dotnet/string-interpolation-in-c-10-and-net-6/), [Write a custom string interpolation handler](https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/tutorials/interpolated-string-handler)\n\n\n### StringSyntaxAttribute\n\n * [StringSyntaxAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.stringsyntaxattribute)\n\nReference: [.NET 7 - The StringSyntaxAttribute](https://bartwullems.blogspot.com/2022/12/net-7-stringsyntaxattribute.html)\n\n\n### Trimming annotation attributes\n\n * [DynamicallyAccessedMembersAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.dynamicallyaccessedmembersattribute)\n * [DynamicDependencyAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.dynamicdependencyattribute)\n * [RequiresUnreferencedCodeAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.requiresunreferencedcodeattribute)\n * [RequiresDynamicCodeAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.requiresdynamiccodeattribute)\n * [UnconditionalSuppressMessageAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.codeanalysis.unconditionalsuppressmessageattribute)\n\nReference: [Prepare .NET libraries for trimming](https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming)\n\n\n### Platform compatibility\n\n * [ObsoletedOSPlatformAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.obsoletedosplatformattribute)\n * [SupportedOSPlatformAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.supportedosplatformattribute)\n * [SupportedOSPlatformGuardAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.supportedosplatformguardattribute)\n * [TargetPlatformAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.targetplatformattribute)\n * [UnsupportedOSPlatformAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.unsupportedosplatformattribute)\n * [UnsupportedOSPlatformGuardAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.versioning.unsupportedosplatformguardattribute)\n\nReference: [Platform compatibility analyzer](https://learn.microsoft.com/en-us/dotnet/standard/analyzers/platform-compat-analyzer)\n\n\n### StackTraceHiddenAttribute\n\n * [StackTraceHiddenAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.stacktracehiddenattribute)\n\nReference: [C# – Hide a method from the stack trace](https://makolyte.com/csharp-exclude-exception-throw-helper-methods-from-the-stack-trace/)\n\n\n### UnmanagedCallersOnly\n\n * [UnmanagedCallersOnlyAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.unmanagedcallersonlyattribute)\n\nReference: [Improvements in native code interop in .NET 5.0](https://devblogs.microsoft.com/dotnet/improvements-in-native-code-interop-in-net-5-0/)\n\n\n### SuppressGCTransition\n\n * [SuppressGCTransitionAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.suppressgctransitionattribute)\n\n\n### DisableRuntimeMarshalling\n\n * [DisableRuntimeMarshallingAttribute](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.disableruntimemarshallingattribute)\n\n\n## Extensions\n\nThe class `Polyfill` includes the following extension methods:\n\n\u003e [!IMPORTANT]\n\u003e The methods using `AppendInterpolatedStringHandler` parameter are not extensions because the compiler prefers to use the overload with `string` parameter instead.\n\n\n### Extension methods\u003c!-- include: api_list.include.md --\u003e\n\n#### bool\n\n * `bool TryFormat(bool, Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.boolean.tryformat)\n\n\n#### byte\n\n * `bool TryFormat(byte, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryformat#system-byte-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(byte, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryformat#system-byte-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### CancellationToken\n\n * `CancellationTokenRegistration Register(CancellationToken, Action\u003cobject?, CancellationToken\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.register#system-threading-cancellationtoken-register(system-action((system-object-system-threading-cancellationtoken))-system-object))\n * `CancellationTokenRegistration UnsafeRegister(CancellationToken, Action\u003cobject?\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.unsaferegister#system-threading-cancellationtoken-unsaferegister(system-action((system-object))-system-object))\n * `CancellationTokenRegistration UnsafeRegister(CancellationToken, Action\u003cobject?, CancellationToken\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.unsaferegister#system-threading-cancellationtoken-unsaferegister(system-action((system-object-system-threading-cancellationtoken))-system-object))\n\n\n#### CancellationTokenSource\n\n * `Task CancelAsync(CancellationTokenSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtokensource.cancelasync)\n\n\n#### ConcurrentBag\u003cT\u003e\n\n * `void Clear\u003cT\u003e(ConcurrentBag\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentbag-1.clear)\n\n\n#### ConcurrentDictionary\u003cTKey, TValue\u003e\n\n * `TValue GetOrAdd\u003cTKey, TValue, TArg\u003e(ConcurrentDictionary\u003cTKey, TValue\u003e, TKey, Func\u003cTKey, TArg, TValue\u003e, TArg) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentdictionary-2.getoradd#system-collections-concurrent-concurrentdictionary-2-getoradd-1(-0-system-func((-0-0-1))-0))\n\n\n#### ConcurrentQueue\u003cT\u003e\n\n * `void Clear\u003cT\u003e(ConcurrentQueue\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentqueue-1.clear)\n\n\n#### DateOnly\n\n * `bool TryFormat(DateOnly, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.tryformat#system-dateonly-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(DateOnly, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.tryformat#system-dateonly-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### DateTime\n\n * `DateTime AddMicroseconds(DateTime, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.addmicroseconds)\n * `void Deconstruct(DateTime, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.deconstruct#system-datetime-deconstruct(system-int32@-system-int32@-system-int32@))\n * `void Deconstruct(DateTime, DateOnly, TimeOnly)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.deconstruct#system-datetime-deconstruct(system-dateonly@-system-timeonly@))\n * `int Microsecond(DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.microsecond)\n * `int Nanosecond(DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.nanosecond)\n * `bool TryFormat(DateTime, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryformat#system-datetime-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(DateTime, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryformat#system-datetime-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### DateTimeOffset\n\n * `DateTimeOffset AddMicroseconds(DateTimeOffset, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.addmicroseconds)\n * `void Deconstruct(DateTimeOffset, DateOnly, TimeOnly, TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.deconstruct)\n * `int Microsecond(DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.microsecond)\n * `int Nanosecond(DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.nanosecond)\n * `bool TryFormat(DateTimeOffset, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryformat#system-datetimeoffset-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(DateTimeOffset, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryformat#system-datetimeoffset-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### decimal\n\n * `bool TryFormat(decimal, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryformat#system-decimal-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(decimal, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryformat#system-decimal-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### Delegate\n\n * `bool HasSingleTarget(Delegate)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.delegate.hassingletarget)\n\n\n#### Dictionary\u003cTKey, TValue\u003e\n\n * `void EnsureCapacity\u003cTKey, TValue\u003e(Dictionary\u003cTKey, TValue\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity)\n * `void TrimExcess\u003cTKey, TValue\u003e(Dictionary\u003cTKey, TValue\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.trimexcess#system-collections-generic-dictionary-2-trimexcess(system-int32))\n * `void TrimExcess\u003cTKey, TValue\u003e(Dictionary\u003cTKey, TValue\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity)\n\n\n#### DictionaryEntry\n\n * `void Deconstruct(DictionaryEntry, object, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.dictionaryentry.deconstruct#system-collections-dictionaryentry-deconstruct(system-object@-system-object@))\n\n\n#### double\n\n * `bool TryFormat(double, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryformat#system-double-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(double, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryformat#system-double-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### Encoding\n\n * `int GetByteCount(Encoding, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getbytecount#system-text-encoding-getbytecount(system-readonlyspan((system-char))))\n * `int GetBytes(Encoding, ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e)` [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))))\n * `int GetCharCount(Encoding, ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getcharcount#system-text-encoding-getcharcount(system-readonlyspan((system-byte))))\n * `int GetChars(Encoding, ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getchars#system-text-encoding-getchars(system-readonlyspan((system-byte))-system-span((system-char))))\n * `string GetString(Encoding, ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getstring#system-text-encoding-getstring(system-readonlyspan((system-byte))))\n * `bool TryGetBytes(Encoding, ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e, int)`\n * `bool TryGetChars(Encoding, ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e, int)`\n\n\n#### EventInfo\n\n * `NullabilityState GetNullability(EventInfo)`\n * `NullabilityInfo GetNullabilityInfo(EventInfo)`\n * `bool IsNullable(EventInfo)`\n\n\n#### FieldInfo\n\n * `NullabilityState GetNullability(FieldInfo)`\n * `NullabilityInfo GetNullabilityInfo(FieldInfo)`\n * `bool IsNullable(FieldInfo)`\n\n\n#### float\n\n * `bool TryFormat(float, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.single.tryformat#system-single-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(float, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.single.tryformat#system-single-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### Guid\n\n * `bool TryFormat(Guid, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryformat#system-guid-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))))\n * `bool TryFormat(Guid, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryformat#system-guid-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))))\n\n\n#### HashSet\u003cT\u003e\n\n * `void EnsureCapacity\u003cT\u003e(HashSet\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.ensurecapacity#system-collections-generic-hashset-1-ensurecapacity(system-int32))\n * `void TrimExcess\u003cT\u003e(HashSet\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.trimexcess?#system-collections-generic-hashset-1-trimexcess(system-int32))\n * `bool TryGetValue\u003cT\u003e(HashSet\u003cT\u003e, T, T)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.trygetvalue)\n\n\n#### HttpClient\n\n * `Task\u003cbyte[]\u003e GetByteArrayAsync(HttpClient, string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getbytearrayasync#system-net-http-httpclient-getbytearrayasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cbyte[]\u003e GetByteArrayAsync(HttpClient, Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getbytearrayasync#system-net-http-httpclient-getbytearrayasync(system-uri-system-threading-cancellationtoken))\n * `Task\u003cStream\u003e GetStreamAsync(HttpClient, string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstreamasync#system-net-http-httpclient-getstreamasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cStream\u003e GetStreamAsync(HttpClient, Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstreamasync#system-net-http-httpclient-getstreamasync(system-uri-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e GetStringAsync(HttpClient, string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstringasync#system-net-http-httpclient-getstringasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e GetStringAsync(HttpClient, Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstringasync#system-net-http-httpclient-getstringasync(system-uri-system-threading-cancellationtoken))\n\n\n#### HttpContent\n\n * `Task\u003cbyte[]\u003e ReadAsByteArrayAsync(HttpContent, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasbytearrayasync#system-net-http-httpcontent-readasbytearrayasync(system-threading-cancellationtoken))\n * `Task\u003cStream\u003e ReadAsStreamAsync(HttpContent, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstreamasync#system-net-http-httpcontent-readasstreamasync(system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadAsStringAsync(HttpContent, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstringasync#system-net-http-httpcontent-readasstringasync(system-threading-cancellationtoken))\n\n\n#### IDictionary\u003cTKey, TValue\u003e\n\n * `ReadOnlyDictionary\u003cTKey, TValue\u003e AsReadOnly\u003cTKey, TValue\u003e(IDictionary\u003cTKey, TValue\u003e) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.asreadonly#system-collections-generic-collectionextensions-asreadonly-2(system-collections-generic-idictionary((-0-1))))\n * `bool Remove\u003cTKey, TValue\u003e(IDictionary\u003cTKey, TValue\u003e, TKey, TValue) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.remove)\n * `bool TryAdd\u003cTKey, TValue\u003e(IDictionary\u003cTKey, TValue\u003e, TKey, TValue) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.tryadd)\n\n\n#### IEnumerable\u003cTFirst\u003e\n\n * `IEnumerable\u003c(TFirst First, TSecond Second, TThird Third)\u003e Zip\u003cTFirst, TSecond, TThird\u003e(IEnumerable\u003cTFirst\u003e, IEnumerable\u003cTSecond\u003e, IEnumerable\u003cTThird\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.zip#system-linq-enumerable-zip-3(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-collections-generic-ienumerable((-2))))\n * `IEnumerable\u003c(TFirst First, TSecond Second)\u003e Zip\u003cTFirst, TSecond\u003e(IEnumerable\u003cTFirst\u003e, IEnumerable\u003cTSecond\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.zip#system-linq-enumerable-zip-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))))\n\n\n#### IEnumerable\u003cTSource\u003e\n\n * `IEnumerable\u003cKeyValuePair\u003cTKey, TAccumulate\u003e\u003e AggregateBy\u003cTSource, TKey, TAccumulate\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, TAccumulate, Func\u003cTAccumulate, TSource, TAccumulate\u003e, IEqualityComparer\u003cTKey\u003e?) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.aggregateby#system-linq-enumerable-aggregateby-3(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-func((-1-2))-system-func((-2-0-2))-system-collections-generic-iequalitycomparer((-1))))\n * `IEnumerable\u003cKeyValuePair\u003cTKey, TAccumulate\u003e\u003e AggregateBy\u003cTSource, TKey, TAccumulate\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, Func\u003cTKey, TAccumulate\u003e, Func\u003cTAccumulate, TSource, TAccumulate\u003e, IEqualityComparer\u003cTKey\u003e?) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.aggregateby#system-linq-enumerable-aggregateby-3(system-collections-generic-ienumerable((-0))-system-func((-0-1))-2-system-func((-2-0-2))-system-collections-generic-iequalitycomparer((-1))))\n * `IEnumerable\u003cTSource\u003e Append\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.append)\n * `IEnumerable\u003cTSource[]\u003e Chunk\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.chunk)\n * `IEnumerable\u003cKeyValuePair\u003cTKey, int\u003e\u003e CountBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.countby)\n * `IEnumerable\u003cTSource\u003e DistinctBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.distinctby#system-linq-enumerable-distinctby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `IEnumerable\u003cTSource\u003e DistinctBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.distinctby#system-linq-enumerable-distinctby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-iequalitycomparer((-1))))\n * `TSource ElementAt\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Index)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementat#system-linq-enumerable-elementat-1(system-collections-generic-ienumerable((-0))-system-index))\n * `TSource? ElementAtOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Index)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementatordefault#system-linq-enumerable-elementatordefault-1(system-collections-generic-ienumerable((-0))-system-index))\n * `IEnumerable\u003cTSource\u003e Except\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except#system-linq-enumerable-except-1(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-0))))\n * `IEnumerable\u003cTSource\u003e Except\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource, IEqualityComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except#system-linq-enumerable-except-1(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-0))-system-collections-generic-iequalitycomparer((-0))))\n * `IEnumerable\u003cTSource\u003e Except\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, IEqualityComparer\u003cTSource\u003e, TSource[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except#system-linq-enumerable-except-1(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-0))-system-collections-generic-iequalitycomparer((-0))))\n * `IEnumerable\u003cTSource\u003e ExceptBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.exceptby#system-linq-enumerable-exceptby-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-1))))\n * `IEnumerable\u003cTSource\u003e ExceptBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.exceptby#system-linq-enumerable-exceptby-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-1))-system-collections-generic-iequalitycomparer((-1))))\n * `TSource FirstOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.firstordefault#system-linq-enumerable-firstordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource FirstOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.firstordefault#system-linq-enumerable-firstordefault-1(system-collections-generic-ienumerable((-0))-0))\n * `IEnumerable\u003c(int Index, TSource Item)\u003e Index\u003cTSource\u003e(IEnumerable\u003cTSource\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.index#system-linq-enumerable-index-1(system-collections-generic-ienumerable((-0))))\n * `TSource LastOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.lastordefault#system-linq-enumerable-lastordefault-1(system-collections-generic-ienumerable((-0))-0))\n * `TSource LastOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.lastordefault#system-linq-enumerable-lastordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource? Max\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, IComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.max#system-linq-enumerable-max-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `TSource? MaxBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.maxby#system-linq-enumerable-maxby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `TSource? MaxBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, IComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.maxby#system-linq-enumerable-maxby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-icomparer((-1))))\n * `TSource? Min\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, IComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.min#system-linq-enumerable-min-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `TSource? MinBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.minby#system-linq-enumerable-minby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `TSource? MinBy\u003cTSource, TKey\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, TKey\u003e, IComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.minby#system-linq-enumerable-minby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-icomparer((-1))))\n * `TSource SingleOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.singleordefault#system-linq-enumerable-singleordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource SingleOrDefault\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.singleordefault#system-linq-enumerable-singleordefault-1(system-collections-generic-ienumerable((-0))-0))\n * `IEnumerable\u003cTSource\u003e SkipLast\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.skiplast)\n * `IEnumerable\u003cTSource\u003e Take\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, Range)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.take#system-linq-enumerable-take-1(system-collections-generic-ienumerable((-0))-system-range))\n * `IEnumerable\u003cTSource\u003e TakeLast\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.takelast)\n * `HashSet\u003cTSource\u003e ToHashSet\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, IEqualityComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.tohashset#system-linq-enumerable-tohashset-1(system-collections-generic-ienumerable((-0))-system-collections-generic-iequalitycomparer((-0))))\n * `bool TryGetNonEnumeratedCount\u003cTSource\u003e(IEnumerable\u003cTSource\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.trygetnonenumeratedcount)\n\n\n#### IList\u003cT\u003e\n\n * `ReadOnlyCollection\u003cT\u003e AsReadOnly\u003cT\u003e(IList\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.asreadonly#system-collections-generic-collectionextensions-asreadonly-1(system-collections-generic-ilist((-0))))\n\n\n#### int\n\n * `bool TryFormat(int, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryformat#system-int32-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(int, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryformat#system-int32-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### IReadOnlyDictionary\u003cTKey, TValue\u003e\n\n * `TValue? GetValueOrDefault\u003cTKey, TValue\u003e(IReadOnlyDictionary\u003cTKey, TValue\u003e, TKey) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.getvalueordefault)\n * `TValue GetValueOrDefault\u003cTKey, TValue\u003e(IReadOnlyDictionary\u003cTKey, TValue\u003e, TKey, TValue) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.getvalueordefault#system-collections-generic-collectionextensions-getvalueordefault-2(system-collections-generic-ireadonlydictionary((-0-1))-0-1))\n\n\n#### ISet\u003cT\u003e\n\n * `ReadOnlySet\u003cT\u003e AsReadOnly\u003cT\u003e(ISet\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.asreadonly#system-collections-generic-collectionextensions-asreadonly-1(system-collections-generic-iset((-0))))\n\n\n#### KeyValuePair\u003cTKey, TValue\u003e\n\n * `void Deconstruct\u003cTKey, TValue\u003e(KeyValuePair\u003cTKey, TValue\u003e, TKey, TValue)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.keyvaluepair-2.deconstruct)\n\n\n#### List\u003cT\u003e\n\n * `void AddRange\u003cT\u003e(List\u003cT\u003e, ReadOnlySpan\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.addrange)\n * `void CopyTo\u003cT\u003e(List\u003cT\u003e, Span\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.copyto)\n * `void EnsureCapacity\u003cT\u003e(List\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.list-1.ensurecapacity#system-collections-generic-list-1-ensurecapacity(system-int32))\n * `void InsertRange\u003cT\u003e(List\u003cT\u003e, int, ReadOnlySpan\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.insertrange)\n * `void TrimExcess\u003cT\u003e(List\u003cT\u003e)`\n\n\n#### long\n\n * `bool TryFormat(long, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryformat#system-int64-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(long, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryformat#system-int64-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### MemberInfo\n\n * `NullabilityState GetNullability(MemberInfo)`\n * `NullabilityInfo GetNullabilityInfo(MemberInfo)`\n * `bool HasSameMetadataDefinitionAs(MemberInfo, MemberInfo)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.reflection.memberinfo.hassamemetadatadefinitionas)\n * `bool IsNullable(MemberInfo)`\n\n\n#### MethodInfo\n\n * `T CreateDelegate\u003cT\u003e(MethodInfo) where T : Delegate` [reference](https://learn.microsoft.com/en-us/dotnet/api/System.Reflection.MethodInfo.CreateDelegate#system-reflection-methodinfo-createdelegate-1)\n * `T CreateDelegate\u003cT\u003e(MethodInfo, object?) where T : Delegate` [reference](https://learn.microsoft.com/en-us/dotnet/api/System.Reflection.MethodInfo.CreateDelegate?#system-reflection-methodinfo-createdelegate-1(system-object))\n\n\n#### OrderedDictionary\u003cTKey, TValue\u003e\n\n * `bool TryAdd\u003cTKey, TValue\u003e(OrderedDictionary\u003cTKey, TValue\u003e, TKey, TValue, int) where TKey : notnull` [reference](https://github.com/dotnet/core/blob/main/release-notes/10.0/preview/preview1/libraries.md#additional-tryadd-and-trygetvalue-overloads-for-ordereddictionarytkey-tvalue)\n * `bool TryGetValue\u003cTKey, TValue\u003e(OrderedDictionary\u003cTKey, TValue\u003e, TKey, TValue, int) where TKey : notnull` [reference](https://github.com/dotnet/core/blob/main/release-notes/10.0/preview/preview1/libraries.md#additional-tryadd-and-trygetvalue-overloads-for-ordereddictionarytkey-tvalue)\n\n\n#### ParameterInfo\n\n * `NullabilityState GetNullability(ParameterInfo)`\n * `NullabilityInfo GetNullabilityInfo(ParameterInfo)`\n * `bool IsNullable(ParameterInfo)`\n\n\n#### Process\n\n * `Task WaitForExitAsync(Process, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.process.waitforexitasync)\n\n\n#### PropertyInfo\n\n * `NullabilityState GetNullability(PropertyInfo)`\n * `NullabilityInfo GetNullabilityInfo(PropertyInfo)`\n * `bool IsNullable(PropertyInfo)`\n\n\n#### Queue\u003cT\u003e\n\n * `void EnsureCapacity\u003cT\u003e(Queue\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1.ensurecapacity#system-collections-generic-queue-1-ensurecapacity(system-int32))\n * `void TrimExcess\u003cT\u003e(Queue\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.queue-1.trimexcess#system-collections-generic-queue-1-trimexcess(system-int32))\n\n\n#### Random\n\n * `void NextBytes(Random, Span\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.random.nextbytes#system-random-nextbytes(system-span((system-byte))))\n * `void Shuffle\u003cT\u003e(Random, T[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.random.nextbytes#system-random-nextbytes(system-span((system-byte))))\n * `void Shuffle\u003cT\u003e(Random, Span\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.random.nextbytes#system-random-nextbytes(system-span((system-byte))))\n\n\n#### ReadOnlySpan\u003cchar\u003e\n\n * `bool EndsWith(ReadOnlySpan\u003cchar\u003e, string, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.endswith#system-memoryextensions-endswith-1(system-readonlyspan((-0))-system-readonlyspan((-0))))\n * `SpanLineEnumerator EnumerateLines(ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.enumeratelines#system-memoryextensions-enumeratelines(system-readonlyspan((system-char))))\n * `int GetNormalizedLength(ReadOnlySpan\u003cchar\u003e, NormalizationForm)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.stringnormalizationextensions.getnormalizedlength#system-stringnormalizationextensions-getnormalizedlength(system-readonlyspan((system-char))-system-text-normalizationform))\n * `bool IsNormalized(ReadOnlySpan\u003cchar\u003e, NormalizationForm)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.stringnormalizationextensions.isnormalized#system-stringnormalizationextensions-isnormalized(system-readonlyspan((system-char))-system-text-normalizationform))\n * `bool SequenceEqual(ReadOnlySpan\u003cchar\u003e, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.sequenceequal#system-memoryextensions-sequenceequal-1(system-readonlyspan((-0))-system-readonlyspan((-0))))\n * `bool StartsWith(ReadOnlySpan\u003cchar\u003e, string, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.startswith#system-memoryextensions-startswith-1(system-readonlyspan((-0))-system-readonlyspan((-0))))\n * `bool TryNormalize(ReadOnlySpan\u003cchar\u003e, Span\u003cchar\u003e, int, NormalizationForm)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.stringnormalizationextensions.trynormalize#system-stringnormalizationextensions-trynormalize(system-readonlyspan((system-char))-system-span((system-char))-system-int32@-system-text-normalizationform))\n\n\n#### ReadOnlySpan\u003cT\u003e\n\n * `bool Contains\u003cT\u003e(ReadOnlySpan\u003cT\u003e, T) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.contains#system-memoryextensions-contains-1(system-readonlyspan((-0))-0))\n * `bool EndsWith\u003cT\u003e(ReadOnlySpan\u003cT\u003e, T) where T : IEquatable\u003cT\u003e?` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.endswith#system-memoryextensions-endswith-1(system-readonlyspan((-0))-0))\n * `SpanSplitEnumerator\u003cT\u003e Split\u003cT\u003e(ReadOnlySpan\u003cT\u003e, T) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.split#system-memoryextensions-split-1(system-readonlyspan((-0))-0))\n * `SpanSplitEnumerator\u003cT\u003e Split\u003cT\u003e(ReadOnlySpan\u003cT\u003e, ReadOnlySpan\u003cT\u003e) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.split#system-memoryextensions-split-1(system-readonlyspan((-0))-system-readonlyspan((-0))))\n * `SpanSplitEnumerator\u003cT\u003e SplitAny\u003cT\u003e(ReadOnlySpan\u003cT\u003e, ReadOnlySpan\u003cT\u003e) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.splitany#system-memoryextensions-splitany-1(system-readonlyspan((-0))-system-readonlyspan((-0))))\n * `SpanSplitEnumerator\u003cT\u003e SplitAny\u003cT\u003e(ReadOnlySpan\u003cT\u003e, SearchValues\u003cT\u003e) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.splitany#system-memoryextensions-splitany-1(system-readonlyspan((-0))-system-buffers-searchvalues((-0))))\n * `bool StartsWith\u003cT\u003e(ReadOnlySpan\u003cT\u003e, T) where T : IEquatable\u003cT\u003e?` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.endswith#system-memoryextensions-endswith-1(system-readonlyspan((-0))-0))\n\n\n#### Regex\n\n * `ValueMatchEnumerator EnumerateMatches(Regex, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.enumeratematches#system-text-regularexpressions-regex-enumeratematches(system-readonlyspan((system-char))))\n * `ValueMatchEnumerator EnumerateMatches(Regex, ReadOnlySpan\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.enumeratematches#system-text-regularexpressions-regex-enumeratematches(system-readonlyspan((system-char))-system-int32))\n * `bool IsMatch(Regex, ReadOnlySpan\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.ismatch#system-text-regularexpressions-regex-ismatch(system-readonlyspan((system-char))-system-int32))\n * `bool IsMatch(Regex, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.regex.ismatch#system-text-regularexpressions-regex-ismatch(system-readonlyspan((system-char))))\n\n\n#### sbyte\n\n * `bool TryFormat(sbyte, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.sbyte.tryformat#system-sbyte-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(sbyte, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.sbyte.tryformat#system-sbyte-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### short\n\n * `bool TryFormat(short, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int16.tryformat#system-int16-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(short, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int16.tryformat#system-int16-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### SortedList\u003cTKey, TValue\u003e\n\n * `TKey GetKeyAtIndex\u003cTKey, TValue\u003e(SortedList\u003cTKey, TValue\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.sortedlist-2.getkeyatindex)\n * `TValue GetValueAtIndex\u003cTKey, TValue\u003e(SortedList\u003cTKey, TValue\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.sortedlist-2.getvalueatindex)\n\n\n#### Span\u003cchar\u003e\n\n * `bool EndsWith(Span\u003cchar\u003e, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.endswith#system-memoryextensions-endswith-1(system-span((-0))-system-readonlyspan((-0))))\n * `SpanLineEnumerator EnumerateLines(Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.enumeratelines#system-memoryextensions-enumeratelines(system-span((system-char))))\n * `bool SequenceEqual(Span\u003cchar\u003e, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.sequenceequal#system-memoryextensions-sequenceequal-1(system-span((-0))-system-readonlyspan((-0))))\n * `bool StartsWith(Span\u003cchar\u003e, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.startswith#system-memoryextensions-startswith-1(system-span((-0))-system-readonlyspan((-0))))\n * `Span\u003cchar\u003e TrimEnd(Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.trimend#system-memoryextensions-trimend(system-span((system-char))))\n * `Span\u003cchar\u003e TrimStart(Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.trimstart#system-memoryextensions-trimstart(system-span((system-char))))\n\n\n#### Span\u003cT\u003e\n\n * `bool Contains\u003cT\u003e(Span\u003cT\u003e, T) where T : IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.memoryextensions.contains#system-memoryextensions-contains-1(system-span((-0))-0))\n\n\n#### Stack\u003cT\u003e\n\n * `void EnsureCapacity\u003cT\u003e(Stack\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.stack-1.ensurecapacity)\n * `void TrimExcess\u003cT\u003e(Stack\u003cT\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.stack-1.trimexcess#system-collections-generic-stack-1-trimexcess(system-int32))\n * `bool TryPeek\u003cT\u003e(Stack\u003cT\u003e, T)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.stack-1.trypeek)\n * `bool TryPop\u003cT\u003e(Stack\u003cT\u003e, T)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.stack-1.trypop)\n\n\n#### Stream\n\n * `Task CopyToAsync(Stream, Stream, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.copytoasync#system-io-stream-copytoasync(system-io-stream-system-threading-cancellationtoken))\n * `ValueTask DisposeAsync(Stream)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.disposeasync)\n * `ValueTask\u003cint\u003e ReadAsync(Stream, Memory\u003cbyte\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.readasync#system-io-stream-readasync(system-memory((system-byte))-system-threading-cancellationtoken))\n * `ValueTask WriteAsync(Stream, ReadOnlyMemory\u003cbyte\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.stream.writeasync#system-io-stream-writeasync(system-readonlymemory((system-byte))-system-threading-cancellationtoken))\n\n\n#### string\n\n * `bool Contains(string, char, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.contains#system-string-contains(system-char-system-stringcomparison))\n * `bool Contains(string, string, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.contains#system-string-contains(system-string-system-stringcomparison))\n * `bool Contains(string, char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.contains#system-string-contains(system-char))\n * `void CopyTo(string, Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.copyto)\n * `bool EndsWith(string, char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.endswith#system-string-endswith(system-char))\n * `int GetHashCode(string, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.gethashcode#system-string-gethashcode(system-stringcomparison))\n * `int IndexOf(string, char, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.indexof#system-string-indexof(system-char-system-stringcomparison))\n * `string ReplaceLineEndings(string, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.replacelineendings#system-string-replacelineendings(system-string))\n * `string ReplaceLineEndings(string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.replacelineendings#system-string-replacelineendings)\n * `string[] Split(string, char, StringSplitOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.split#system-string-split(system-char-system-stringsplitoptions))\n * `string[] Split(string, char, int, StringSplitOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.split#system-string-split(system-char-system-int32-system-stringsplitoptions))\n * `bool StartsWith(string, char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.startswith#system-string-startswith(system-char))\n * `bool TryCopyTo(string, Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.string.trycopyto)\n\n\n#### StringBuilder\n\n * `StringBuilder Append(StringBuilder, StringBuilder?, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-text-stringbuilder-system-int32-system-int32))\n * `StringBuilder Append(StringBuilder, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-readonlyspan((system-char))))\n * `StringBuilder Append(StringBuilder, AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder Append(StringBuilder, IFormatProvider?, AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-iformatprovider-system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder Append(StringBuilder, StringBuilder.AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder Append(StringBuilder, IFormatProvider?, StringBuilder.AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.append#system-text-stringbuilder-append(system-iformatprovider-system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder AppendJoin\u003cT\u003e(StringBuilder, char, IEnumerable\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin-1(system-string-system-collections-generic-ienumerable((-0))))\n * `StringBuilder AppendJoin\u003cT\u003e(StringBuilder, string?, IEnumerable\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin-1(system-char-system-collections-generic-ienumerable((-0))))\n * `StringBuilder AppendJoin(StringBuilder, string?, string?[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin(system-string-system-string()))\n * `StringBuilder AppendJoin(StringBuilder, string?, object?[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin(system-string-system-object()))\n * `StringBuilder AppendJoin(StringBuilder, char, string?[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin(system-char-system-string()))\n * `StringBuilder AppendJoin(StringBuilder, char, object?[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin(system-char-system-object()))\n * `StringBuilder AppendJoin\u003cT\u003e(StringBuilder, char, T[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin-1(system-char-system-collections-generic-ienumerable((-0))))\n * `StringBuilder AppendJoin\u003cT\u003e(StringBuilder, string, T[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendjoin#system-text-stringbuilder-appendjoin-1(system-string-system-collections-generic-ienumerable((-0))))\n * `StringBuilder AppendLine(StringBuilder, AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendline#system-text-stringbuilder-appendline(system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder AppendLine(StringBuilder, IFormatProvider?, AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendline#system-text-stringbuilder-appendline(system-iformatprovider-system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder AppendLine(StringBuilder, StringBuilder.AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendline#system-text-stringbuilder-appendline(system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `StringBuilder AppendLine(StringBuilder, IFormatProvider?, StringBuilder.AppendInterpolatedStringHandler)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.appendline#system-text-stringbuilder-appendline(system-iformatprovider-system-text-stringbuilder-appendinterpolatedstringhandler@))\n * `void CopyTo(StringBuilder, int, Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.copyto#system-text-stringbuilder-copyto(system-int32-system-span((system-char))-system-int32))\n * `bool Equals(StringBuilder, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.equals#system-text-stringbuilder-equals(system-readonlyspan((system-char))))\n * `ChunkEnumerator GetChunks(StringBuilder)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.getchunks)\n * `StringBuilder Insert(StringBuilder, int, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.insert#system-text-stringbuilder-insert(system-int32-system-readonlyspan((system-char))))\n * `StringBuilder Replace(StringBuilder, ReadOnlySpan\u003cchar\u003e, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.replace#system-text-stringbuilder-replace(system-readonlyspan((system-char))-system-readonlyspan((system-char))))\n * `StringBuilder Replace(StringBuilder, ReadOnlySpan\u003cchar\u003e, ReadOnlySpan\u003cchar\u003e, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.stringbuilder.replace#system-text-stringbuilder-replace(system-char-system-char-system-int32-system-int32))\n\n\n#### Task\n\n * `Task WaitAsync(Task, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitasync#system-threading-tasks-task-waitasync(system-threading-cancellationtoken))\n * `Task WaitAsync(Task, TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitasync#system-threading-tasks-task-waitasync(system-timespan))\n * `Task WaitAsync(Task, TimeSpan, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitasync#system-threading-tasks-task-waitasync(system-timespan-system-threading-cancellationtoken))\n\n\n#### Task\u003cTResult\u003e\n\n * `Task\u003cTResult\u003e WaitAsync\u003cTResult\u003e(Task\u003cTResult\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitasync#system-threading-tasks-task-waitasync(system-threading-cancellationtoken))\n * `Task\u003cTResult\u003e WaitAsync\u003cTResult\u003e(Task\u003cTResult\u003e, TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1.waitasync#system-threading-tasks-task-1-waitasync(system-timespan))\n * `Task\u003cTResult\u003e WaitAsync\u003cTResult\u003e(Task\u003cTResult\u003e, TimeSpan, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.task-1.waitasync#system-threading-tasks-task-1-waitasync(system-timespan-system-threading-cancellationtoken))\n\n\n#### TaskCompletionSource\u003cT\u003e\n\n * `void SetCanceled\u003cT\u003e(TaskCompletionSource\u003cT\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.tasks.taskcompletionsource-1.setcanceled#system-threading-tasks-taskcompletionsource-1-setcanceled(system-threading-cancellationtoken))\n\n\n#### TextReader\n\n * `ValueTask\u003cint\u003e ReadAsync(TextReader, Memory\u003cchar\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textreader.readasync#system-io-textreader-readasync(system-memory((system-char))-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadLineAsync(TextReader, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textreader.readtoendasync#system-io-textreader-readlineasync(system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadToEndAsync(TextReader, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textreader.readtoendasync#system-io-textreader-readtoendasync(system-threading-cancellationtoken))\n\n\n#### TextWriter\n\n * `Task FlushAsync(TextWriter, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.flushasync#system-io-textwriter-flushasync(system-threading-cancellationtoken))\n * `void Write(TextWriter, StringBuilder?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.write#system-io-textwriter-write(system-text-stringbuilder))\n * `void Write(TextWriter, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.write#system-io-textwriter-write(system-readonlyspan((system-char))))\n * `Task WriteAsync(TextWriter, StringBuilder?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.writeasync#system-io-textwriter-writeasync(system-readonlymemory((system-char))-system-threading-cancellationtoken))\n * `ValueTask WriteAsync(TextWriter, ReadOnlyMemory\u003cchar\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.writeasync#system-io-textwriter-writeasync(system-readonlymemory((system-char))-system-threading-cancellationtoken))\n * `void WriteLine(TextWriter, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.writeline#system-io-textwriter-writeline(system-readonlyspan((system-char))))\n * `ValueTask WriteLineAsync(TextWriter, ReadOnlyMemory\u003cchar\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.textwriter.writelineasync#system-io-textwriter-writelineasync(system-readonlymemory((system-char))-system-threading-cancellationtoken))\n\n\n#### TimeOnly\n\n * `void Deconstruct(TimeOnly, int, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.deconstruct#system-timeonly-deconstruct(system-int32@-system-int32@-system-int32@-system-int32@))\n * `void Deconstruct(TimeOnly, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.deconstruct#system-timeonly-deconstruct(system-int32@-system-int32@-system-int32@))\n * `void Deconstruct(TimeOnly, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.deconstruct#system-timeonly-deconstruct(system-int32@-system-int32@))\n * `void Deconstruct(TimeOnly, int, int, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.deconstruct#system-timeonly-deconstruct(system-int32@-system-int32@-system-int32@-system-int32@-system-int32@))\n * `bool TryFormat(TimeOnly, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.tryformat#system-timeonly-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(TimeOnly, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timeonly.tryformat#system-timeonly-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### TimeSpan\n\n * `int Microseconds(TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timespan.microseconds)\n * `int Nanoseconds(TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timespan.nanoseconds)\n * `bool TryFormat(TimeSpan, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timespan.tryformat#system-timespan-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(TimeSpan, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.timespan.tryformat#system-timespan-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### Type\n\n * `MethodInfo? GetMethod(Type, string, int, BindingFlags, Type[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.type.getmethod#system-type-getmethod(system-string-system-int32-system-reflection-bindingflags-system-type()))\n * `bool IsAssignableFrom\u003cT\u003e(Type)`\n * `bool IsAssignableTo\u003cT\u003e(Type)`\n * `bool IsAssignableTo(Type, Type?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.type.isassignableto)\n * `bool IsGenericMethodParameter(Type)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.type.isgenericmethodparameter)\n\n\n#### uint\n\n * `bool TryFormat(uint, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint32.tryformat#system-uint32-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(uint, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint32.tryformat#system-uint32-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### ulong\n\n * `bool TryFormat(ulong, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint64.tryformat#system-uint64-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(ulong, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint64.tryformat#system-uint64-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### ushort\n\n * `bool TryFormat(ushort, Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint16.tryformat#system-uint16-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(ushort, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.uint16.tryformat#system-uint16-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### XDocument\n\n * `Task SaveAsync(XDocument, XmlWriter, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.xml.linq.xdocument.saveasync#system-xml-linq-xdocument-saveasync(system-xml-xmlwriter-system-threading-cancellationtoken))\n * `Task SaveAsync(XDocument, Stream, SaveOptions, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.xml.linq.xdocument.saveasync#system-xml-linq-xdocument-saveasync(system-io-stream-system-xml-linq-saveoptions-system-threading-cancellationtoken))\n * `Task SaveAsync(XDocument, TextWriter, SaveOptions, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.xml.linq.xdocument.saveasync#system-xml-linq-xdocument-saveasync(system-io-textwriter-system-xml-linq-saveoptions-system-threading-cancellationtoken))\n\n\n### Static helpers\n\n#### BytePolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-byte@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, IFormatProvider?, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-byte))-system-iformatprovider-system-byte@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, NumberStyles, IFormatProvider?, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-byte))-system-globalization-numberstyles-system-iformatprovider-system-byte@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-char))-system-byte@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-byte@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, NumberStyles, IFormatProvider?, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-byte@))\n * `bool TryParse(string?, IFormatProvider?, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse#system-byte-tryparse(system-string-system-iformatprovider-system-byte@))\n\n\n#### DateTimeOffsetPolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparse#system-datetimeoffset-tryparse(system-readonlyspan((system-char))-system-datetimeoffset@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparse#system-datetimeoffset-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-datetimeoffset@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTimeStyles, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparse#system-datetimeoffset-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetimeoffset@))\n * `bool TryParse(string?, IFormatProvider?, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparse#system-datetimeoffset-tryparse(system-string-system-iformatprovider-system-datetimeoffset@))\n * `bool TryParseExact(ReadOnlySpan\u003cchar\u003e, ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTimeStyles, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparseexact#system-datetimeoffset-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetimeoffset@))\n * `bool TryParseExact(ReadOnlySpan\u003cchar\u003e, string, IFormatProvider?, DateTimeStyles, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparseexact#system-datetimeoffset-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetimeoffset@))\n\n\n#### DateTimePolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparse#system-datetime-tryparse(system-readonlyspan((system-char))-system-datetime@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparse#system-datetime-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-datetime@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTimeStyles, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparse#system-datetime-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetime@))\n * `bool TryParse(string?, IFormatProvider?, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparse#system-datetime-tryparse(system-string-system-iformatprovider-system-datetime@))\n * `bool TryParseExact(ReadOnlySpan\u003cchar\u003e, ReadOnlySpan\u003cchar\u003e, IFormatProvider?, DateTimeStyles, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparseexact#system-datetime-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetime@))\n * `bool TryParseExact(ReadOnlySpan\u003cchar\u003e, string, IFormatProvider?, DateTimeStyles, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparseexact#system-datetime-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetime@))\n\n\n#### DelegatePolyfill\n\n * `InvocationListEnumerator\u003cTDelegate\u003e EnumerateInvocationList\u003cTDelegate\u003e(TDelegate?) where TDelegate : Delegate` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.delegate.enumerateinvocationlist)\n\n\n#### DoublePolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-byte))-system-double@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, IFormatProvider?, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-byte))-system-iformatprovider-system-double@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, NumberStyles, IFormatProvider?, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-byte))-system-globalization-numberstyles-system-iformatprovider-system-double@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-char))-system-double@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-double@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, NumberStyles, IFormatProvider?, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-double@))\n * `bool TryParse(string?, IFormatProvider?, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse#system-double-tryparse(system-string-system-iformatprovider-system-double@))\n\n\n#### EnumPolyfill\n\n * `string[] GetNames\u003cTEnum\u003e() where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getnames)\n * `TEnum[] GetValues\u003cTEnum\u003e() where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getvalues)\n * `bool IsDefined\u003cTEnum\u003e(TEnum) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.isdefined#system-enum-isdefined-1(-0))\n * `TEnum Parse\u003cTEnum\u003e(ReadOnlySpan\u003cchar\u003e, bool) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.parse#system-enum-parse-1(system-readonlyspan((system-char))-system-boolean))\n * `TEnum Parse\u003cTEnum\u003e(ReadOnlySpan\u003cchar\u003e) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.parse#system-enum-parse-1(system-readonlyspan((system-char))))\n * `TEnum Parse\u003cTEnum\u003e(string, bool) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.parse#system-enum-parse-1(system-string-system-boolean))\n * `TEnum Parse\u003cTEnum\u003e(string) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.parse#system-enum-parse-1(system-string-system-boolean))\n * `bool TryParse\u003cTEnum\u003e(ReadOnlySpan\u003cchar\u003e, bool, TEnum) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.tryparse#system-enum-tryparse-1(system-readonlyspan((system-char))-system-boolean-0@))\n * `bool TryParse\u003cTEnum\u003e(ReadOnlySpan\u003cchar\u003e, TEnum) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.tryparse#system-enum-tryparse-1(system-readonlyspan((system-char))-0@))\n\n\n#### FilePolyfill\n\n * `void AppendAllBytes(string, byte[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytes#system-io-file-appendallbytes(system-string-system-byte()))\n * `void AppendAllBytes(string, ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytes#system-io-file-appendallbytes(system-string-system-readonlyspan((system-byte))))\n * `Task AppendAllBytesAsync(string, byte[], CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytesasync#system-io-file-appendallbytesasync(system-string-system-byte()-system-threading-cancellationtoken))\n * `Task AppendAllBytesAsync(string, ReadOnlyMemory\u003cbyte\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytesasync#system-io-file-appendallbytesasync(system-string-system-readonlymemory((system-byte))-system-threading-cancellationtoken))\n * `Task AppendAllLinesAsync(string, IEnumerable\u003cstring\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalllinesasync#system-io-file-appendalllinesasync(system-string-system-collections-generic-ienumerable((system-string))-system-threading-cancellationtoken))\n * `Task AppendAllLinesAsync(string, IEnumerable\u003cstring\u003e, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalllinesasync#system-io-file-appendalllinesasync(system-string-system-collections-generic-ienumerable((system-string))-system-text-encoding-system-threading-cancellationtoken))\n * `void AppendAllText(string, ReadOnlySpan\u003cchar\u003e, Encoding)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltext#system-io-file-appendalltext(system-string-system-readonlyspan((system-char))-system-text-encoding))\n * `void AppendAllText(string, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltext#system-io-file-appendalltext(system-string-system-readonlyspan((system-char))))\n * `Task AppendAllTextAsync(string, ReadOnlyMemory\u003cchar\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltextasync#system-io-file-appendalltextasync(system-string-system-readonlymemory((system-char))-system-threading-cancellationtoken))\n * `Task AppendAllTextAsync(string, ReadOnlyMemory\u003cchar\u003e, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltextasync#system-io-file-appendalltextasync(system-string-system-readonlymemory((system-char))-system-text-encoding-system-threading-cancellationtoken))\n * `Task AppendAllTextAsync(string, string?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltextasync#system-io-file-appendalltextasync(system-string-system-string-system-threading-cancellationtoken))\n * `Task AppendAllTextAsync(string, string?, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendalltextasync#system-io-file-appendalltextasync(system-string-system-string-system-text-encoding-system-threading-cancellationtoken))\n * `Task\u003cbyte[]\u003e ReadAllBytesAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readallbytesasync)\n * `Task\u003cstring[]\u003e ReadAllLinesAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readalllinesasync#system-io-file-readalllinesasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cstring[]\u003e ReadAllLinesAsync(string, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readalllinesasync#system-io-file-readalllinesasync(system-string-system-text-encoding-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadAllTextAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readalltextasync#system-io-file-readalltextasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadAllTextAsync(string, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readalltextasync#system-io-file-readalltextasync(system-string-system-text-encoding-system-threading-cancellationtoken))\n * `IAsyncEnumerable\u003cstring\u003e ReadLinesAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readlinesasync#system-io-file-readalllinesasync(system-string-system-threading-cancellationtoken))\n * `IAsyncEnumerable\u003cstring\u003e ReadLinesAsync(string, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readlinesasync#system-io-file-readalllinesasync(system-string-system-text-encoding-system-threading-cancellationtoken))\n * `Task WriteAllBytesAsync(string, byte[], CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writeallbytesasync#system-io-file-writeallbytesasync(system-string-system-byte()-system-threading-cancellationtoken))\n * `Task WriteAllBytesAsync(string, ReadOnlyMemory\u003cbyte\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytesasync#system-io-file-appendallbytesasync(system-string-system-readonlymemory((system-byte))-system-threading-cancellationtoken))\n * `Task WriteAllLinesAsync(string, IEnumerable\u003cstring\u003e, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealllinesasync#system-io-file-writealllinesasync(system-string-system-collections-generic-ienumerable((system-string))-system-threading-cancellationtoken))\n * `Task WriteAllLinesAsync(string, IEnumerable\u003cstring\u003e, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealllinesasync#system-io-file-writealllinesasync(system-string-system-collections-generic-ienumerable((system-string))-system-text-encoding-system-threading-cancellationtoken))\n * `void WriteAllText(string, ReadOnlySpan\u003cchar\u003e, Encoding)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealltext#system-io-file-writealltext(system-string-system-readonlyspan((system-char))-system-text-encoding))\n * `void WriteAllText(string, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealltext#system-io-file-writealltext(system-string-system-readonlyspan((system-char))))\n * `Task WriteAllTextAsync(string, string?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealltextasync#system-io-file-writealltextasync(system-string-system-string-system-text-encoding-system-threading-cancellationtoken))\n * `Task WriteAllTextAsync(string, string?, Encoding, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.writealltextasync#system-io-file-writealltextasync(system-string-system-string-system-text-encoding-system-threading-cancellationtoken))\n\n\n#### GuidPolyfill\n\n * `Guid CreateVersion7()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7#system-guid-createversion7)\n * `Guid CreateVersion7(DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7#system-guid-createversion7(system-datetimeoffset))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparse#system-guid-tryparse(system-readonlyspan((system-char))-system-guid@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparse#system-guid-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-guid@))\n * `bool TryParse(string?, IFormatProvider?, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparse#system-guid-tryparse(system-string-system-iformatprovider-system-guid@))\n * `bool TryParseExact(ReadOnlySpan\u003cchar\u003e, ReadOnlySpan\u003cchar\u003e, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparseexact#system-guid-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-guid@))\n\n\n#### IntPolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, IFormatProvider?, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-byte))-system-iformatprovider-system-int32@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-int32@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, NumberStyles, IFormatProvider?, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-byte))-system-globalization-numberstyles-system-iformatprovider-system-int32@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-int32@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-char))-system-int32@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, NumberStyles, IFormatProvider?, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-int32@))\n * `bool TryParse(string?, IFormatProvider?, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int32.tryparse#system-int32-tryparse(system-string-system-iformatprovider-system-int32@))\n\n\n#### LongPolyfill\n\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, IFormatProvider?, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-byte))-system-iformatprovider-system-int64@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-int64@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, NumberStyles, IFormatProvider?, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-byte))-system-globalization-numberstyles-system-iformatprovider-system-int64@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-int64@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-char))-system-int64@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, NumberStyles, IFormatProvider?, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-int64@))\n * `bool TryParse(string?, IFormatProvider?, long)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.int64.tryparse#system-int64-tryparse(system-string-system-iformatprovider-system-int64@))\n\n\n#### OperatingSystemPolyfill\n\n * `bool IsAndroid()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isandroid)\n * `bool IsAndroidVersionAtLeast(int, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isandroidversionatleast)\n * `bool IsBrowser()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isbrowser)\n * `bool IsFreeBSD()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isfreebsd)\n * `bool IsFreeBSDVersionAtLeast(int, int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isfreebsdversionatleast)\n * `bool IsIOS()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isios)\n * `bool IsIOSVersionAtLeast(int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.isiosversionatleast)\n * `bool IsLinux()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.operatingsystem.islinux)\n * `bool IsMacCatalyst()` [refere","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimonCropp%2FPolyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimonCropp%2FPolyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimonCropp%2FPolyfill/lists"}