{"id":17182334,"url":"https://github.com/simoncropp/polyfill","last_synced_at":"2026-06-02T01:01:15.396Z","repository":{"id":142269770,"uuid":"608868908","full_name":"SimonCropp/Polyfill","owner":"SimonCropp","description":"Source only package that exposes newer APIs, .net features, and C# features to older runtimes.","archived":false,"fork":false,"pushed_at":"2026-06-01T01:38:28.000Z","size":4273,"stargazers_count":466,"open_issues_count":0,"forks_count":42,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-06-01T02:08:23.412Z","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"SimonCropp"}},"created_at":"2023-03-02T22:42:46.000Z","updated_at":"2026-06-01T01:37:32.000Z","dependencies_parsed_at":"2026-01-03T10:03:57.886Z","dependency_job_id":"df06cef7-bc03-45b7-9c21-0b576a1f58a8","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":223,"template":false,"template_full_name":null,"purl":"pkg:github/SimonCropp/Polyfill","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FPolyfill/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33800676,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-10-15T00:36:45.323Z","updated_at":"2026-06-02T01:01:15.381Z","avatar_url":"https://github.com/SimonCropp.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src=\"/src/icon.png\" height=\"30px\" width=\"30px\"\u003e Polyfill\n\n[![Build status](https://img.shields.io/appveyor/build/SimonCropp/Polyfill)](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`, `net11.0`\n * `uap10`\n\n\n**API count: 959**\u003c!-- include: apiCount. path: /apiCount.include.md --\u003e\n\n### Per Target Framework\n\n| Target | APIs |\n| -- | -- |\n| `net461` | 934 |\n| `net462` | 934 |\n| `net47` | 933 |\n| `net471` | 932 |\n| `net472` | 928 |\n| `net48` | 928 |\n| `net481` | 928 |\n| `netstandard2.0` | 930 |\n| `netstandard2.1` | 761 |\n| `netcoreapp2.0` | 854 |\n| `netcoreapp2.1` | 773 |\n| `netcoreapp2.2` | 773 |\n| `netcoreapp3.0` | 719 |\n| `netcoreapp3.1` | 718 |\n| `net5.0` | 590 |\n| `net6.0` | 495 |\n| `net7.0` | 342 |\n| `net8.0` | 223 |\n| `net9.0` | 147 |\n| `net10.0` | 95 |\n| `net11.0` | 58 |\n| `uap10.0` | 920 |\n\u003c!-- endInclude --\u003e\n\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\n\n### Powered by\n\n[![JetBrains logo.](https://raw.githubusercontent.com/SimonCropp/Polyfill/main/src/jetbrains.png)](https://jb.gg/OpenSourceSupport)\n\n\n## Nuget\n\n * https://nuget.org/packages/Polyfill/\n * https://nuget.org/packages/PolyfillLib/ (See [PolyfillLib docs](polyfill-lib.md))\n\n\n## TargetFrameworks\n\nIt is recommended that projects that consume Polyfill multi-target all TFMs that the project is expected to be consumed in. See [Polyfill and TargetFrameworks](target-frameworks.md)\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```json\n{\n  \"sdk\": {\n    \"version\": \"10.0.100\",\n    \"rollForward\": \"latestFeature\"\n  }\n}\n```\n\n\n## Assembly size impact\n\n\n### Assembly Sizes\u003c!-- include: assemblySize. path: /assemblySize.include.md --\u003e\n\n|                | Empty Assembly | With Polyfill | Diff      | Ensure    | ArgumentExceptions | StringInterpolation | Nullability |\n|----------------|----------------|---------------|-----------|-----------|--------------------|---------------------|-------------|\n| netstandard2.0 |          8.0KB |       326.5KB |  +318.5KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| netstandard2.1 |          8.5KB |       280.0KB |  +271.5KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net461         |          8.5KB |       325.5KB |  +317.0KB |    +8.5KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net462         |          7.0KB |       329.0KB |  +322.0KB |    +8.5KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net47          |          7.0KB |       328.5KB |  +321.5KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net471         |          8.5KB |       328.0KB |  +319.5KB |    +8.5KB |             +6.5KB |              +9.0KB |     +13.5KB |\n| net472         |          8.5KB |       326.5KB |  +318.0KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net48          |          8.5KB |       326.5KB |  +318.0KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net481         |          8.5KB |       326.5KB |  +318.0KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| netcoreapp2.0  |          9.0KB |       303.0KB |  +294.0KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| netcoreapp2.1  |          9.0KB |       282.5KB |  +273.5KB |    +9.0KB |             +7.0KB |              +9.0KB |     +14.0KB |\n| netcoreapp2.2  |          9.0KB |       282.5KB |  +273.5KB |    +9.0KB |             +7.0KB |              +9.0KB |     +14.0KB |\n| netcoreapp3.0  |          9.5KB |       274.0KB |  +264.5KB |    +9.0KB |             +6.5KB |              +9.5KB |     +14.0KB |\n| netcoreapp3.1  |          9.5KB |       272.5KB |  +263.0KB |    +9.0KB |             +6.5KB |              +9.0KB |     +13.5KB |\n| net5.0         |          9.5KB |       236.0KB |  +226.5KB |    +9.0KB |             +6.5KB |              +9.0KB |     +14.0KB |\n| net6.0         |         10.0KB |       177.0KB |  +167.0KB |   +10.0KB |             +7.0KB |           +512bytes |      +4.0KB |\n| net7.0         |         10.0KB |       139.5KB |  +129.5KB |    +9.0KB |             +5.5KB |           +512bytes |      +3.5KB |\n| net8.0         |          9.5KB |       111.0KB |  +101.5KB |    +8.0KB |                    |           +512bytes |      +3.0KB |\n| net9.0         |          9.5KB |        67.0KB |   +57.5KB |    +9.0KB |                    |           +512bytes |      +3.5KB |\n| net10.0        |         10.0KB |        43.5KB |   +33.5KB |    +9.0KB |                    |           +512bytes |      +3.5KB |\n| net11.0        |         10.0KB |        20.5KB |   +10.5KB |    +9.0KB |                    |           +512bytes |      +3.5KB |\n\n\n### Assembly Sizes with EmbedUntrackedSources\n\n|                | Empty Assembly | With Polyfill | Diff      | Ensure    | ArgumentExceptions | StringInterpolation | Nullability |\n|----------------|----------------|---------------|-----------|-----------|--------------------|---------------------|-------------|\n| netstandard2.0 |          8.0KB |       474.9KB |  +466.9KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| netstandard2.1 |          8.5KB |       403.2KB |  +394.7KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net461         |          8.5KB |       474.9KB |  +466.4KB |   +16.2KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net462         |          7.0KB |       478.4KB |  +471.4KB |   +16.2KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net47          |          7.0KB |       477.7KB |  +470.7KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net471         |          8.5KB |       476.8KB |  +468.3KB |   +16.2KB |             +8.2KB |             +13.9KB |     +18.9KB |\n| net472         |          8.5KB |       474.3KB |  +465.8KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net48          |          8.5KB |       474.3KB |  +465.8KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net481         |          8.5KB |       474.3KB |  +465.8KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| netcoreapp2.0  |          9.0KB |       441.6KB |  +432.6KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| netcoreapp2.1  |          9.0KB |       409.9KB |  +400.9KB |   +16.7KB |             +8.7KB |             +13.9KB |     +19.4KB |\n| netcoreapp2.2  |          9.0KB |       409.9KB |  +400.9KB |   +16.7KB |             +8.7KB |             +13.9KB |     +19.4KB |\n| netcoreapp3.0  |          9.5KB |       392.1KB |  +382.6KB |   +16.7KB |             +8.2KB |             +14.4KB |     +19.4KB |\n| netcoreapp3.1  |          9.5KB |       390.6KB |  +381.1KB |   +16.7KB |             +8.2KB |             +13.9KB |     +18.9KB |\n| net5.0         |          9.5KB |       335.9KB |  +326.4KB |   +16.7KB |             +8.2KB |             +13.9KB |     +19.4KB |\n| net6.0         |         10.0KB |       256.9KB |  +246.9KB |   +17.7KB |             +8.7KB |              +1.1KB |      +4.7KB |\n| net7.0         |         10.0KB |       200.8KB |  +190.8KB |   +16.6KB |             +6.9KB |              +1.1KB |      +4.2KB |\n| net8.0         |          9.5KB |       157.1KB |  +147.6KB |   +15.5KB |          +299bytes |              +1.1KB |      +3.7KB |\n| net9.0         |          9.5KB |        92.7KB |   +83.2KB |   +16.5KB |                    |              +1.1KB |      +4.2KB |\n| net10.0        |         10.0KB |        60.7KB |   +50.7KB |   +16.5KB |                    |              +1.1KB |      +4.2KB |\n| net11.0        |         10.0KB |        30.3KB |   +20.3KB |   +16.5KB |                    |              +1.1KB |      +4.2KB |\n\u003c!-- endInclude --\u003e\n\n\n## PolyfillLib\n\nTo consume Polyfill as a library (instead of a source-only package) see [PolyfillLib](polyfill-lib.md)\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\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```\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 async Task ModuleInitTest() =\u003e\n    await Assert.That(InitCalled).IsTrue();\n\n[ModuleInitializer]\npublic static void ModuleInit() =\u003e\n    InitCalled = true;\n```\n\u003csup\u003e\u003ca href='/src/Tests/ModuleInitSample.cs#L3-L15' 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\nclass IndexRangeSample\n{\n    [Test]\n    public async Task Range()\n    {\n        var substring = \"value\"[2..];\n        await Assert.That(substring).IsEqualTo(\"lue\");\n    }\n\n    [Test]\n    public async Task Index()\n    {\n        var ch = \"value\"[^2];\n        await Assert.That(ch).IsEqualTo('u');\n    }\n\n    [Test]\n    public async Task ArrayIndex()\n    {\n        var array = new[]\n        {\n            \"value1\",\n            \"value2\"\n        };\n\n        var value = array[^2];\n\n        await Assert.That(value).IsEqualTo(\"value1\");\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/IndexRangeSample.cs#L1-L34' 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\npublic class OverloadResolutionPriorityAttributeTests\n{\n    [Test]\n    public Task Run()\n    {\n        int[] arr = [1, 2, 3];\n        //Prints \"Span\" because resolution priority is higher\n        Method(arr);\n        return Task.CompletedTask;\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#L7-L14' 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 name = \"\")\n    {\n        if (!File.Exists(path))\n        {\n            throw new ArgumentException($\"File not found. Path: {path}\", name);\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\nEnable by adding an MSBuild property `PolyStringInterpolation`\n\n```\n\u003cPropertyGroup\u003e\n  ...\n  \u003cPolyStringInterpolation\u003etrue\u003c/PolyStringInterpolation\u003e\n\u003c/PropertyGroup\u003e\n```\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\u003e [!IMPORTANT]\n\u003e In the below extension method list, the methods using `AppendInterpolatedStringHandler` parameter are not extensions because the compiler prefers to use the overload with `string` parameter instead.\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\n### Extension methods\u003c!-- include: api_list.include.md --\u003e\n\n#### ArgumentException\n\n\u003e Requires [`\u003cPolyArgumentExceptions\u003etrue\u003c/PolyArgumentExceptions\u003e`](#argumentexception-1) in the consuming project.\n\n * `void ThrowIfNullOrEmpty(string?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorempty?view=net-11.0#system-argumentexception-throwifnullorempty(system-string-system-string))\n * `void ThrowIfNullOrWhiteSpace(string?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentexception.throwifnullorwhitespace?view=net-11.0#system-argumentexception-throwifnullorwhitespace(system-string-system-string))\n\n\n#### ArgumentNullException\n\n\u003e Requires [`\u003cPolyArgumentExceptions\u003etrue\u003c/PolyArgumentExceptions\u003e`](#argumentexception-1) in the consuming project.\n\n * `void ThrowIfNull(object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-11.0#system-argumentnullexception-throwifnull(system-object-system-string))\n * `void ThrowIfNull(void*)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentnullexception.throwifnull?view=net-11.0#system-argumentnullexception-throwifnull(system-void*-system-string))\n\n\n#### ArgumentOutOfRangeException\n\n\u003e Requires [`\u003cPolyArgumentExceptions\u003etrue\u003c/PolyArgumentExceptions\u003e`](#argumentexception-1) in the consuming project.\n\n * `void ThrowIfEqual\u003cT\u003e(T, T) where T : IEquatable\u003cT\u003e?` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifequal?view=net-11.0#system-argumentoutofrangeexception-throwifequal-1(-0-0-system-string))\n * `void ThrowIfGreaterThan(nint, nint)`\n * `void ThrowIfGreaterThan\u003cT\u003e(T, T) where T : IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifgreaterthan?view=net-11.0#system-argumentoutofrangeexception-throwifgreaterthan-1(-0-0-system-string))\n * `void ThrowIfGreaterThanOrEqual(nint, nint)`\n * `void ThrowIfGreaterThanOrEqual\u003cT\u003e(T, T) where T : IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifgreaterthanorequal?view=net-11.0#system-argumentoutofrangeexception-throwifgreaterthanorequal-1(-0-0-system-string))\n * `void ThrowIfLessThan(nint, nint)`\n * `void ThrowIfLessThan\u003cT\u003e(T, T) where T : IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwiflessthan?view=net-11.0#system-argumentoutofrangeexception-throwiflessthan-1(-0-0-system-string))\n * `void ThrowIfLessThanOrEqual(nint, nint)`\n * `void ThrowIfLessThanOrEqual\u003cT\u003e(T, T) where T : IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwiflessthanorequal?view=net-11.0#system-argumentoutofrangeexception-throwiflessthanorequal-1(-0-0-system-string))\n * `void ThrowIfNegative(nint)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifnegative?view=net-11.0#system-argumentoutofrangeexception-throwifnegative-1(-0-system-string))\n * `void ThrowIfNegative\u003cT\u003e(T) where T : struct, IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifnegative?view=net-11.0#system-argumentoutofrangeexception-throwifnegative-1(-0-system-string))\n * `void ThrowIfNegativeOrZero(nint)`\n * `void ThrowIfNegativeOrZero\u003cT\u003e(T) where T : struct, IComparable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifnegativeorzero?view=net-11.0#system-argumentoutofrangeexception-throwifnegativeorzero-1(-0-system-string))\n * `void ThrowIfNotEqual\u003cT\u003e(T, T) where T : IEquatable\u003cT\u003e?` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifnotequal?view=net-11.0#system-argumentoutofrangeexception-throwifnotequal-1(-0-0-system-string))\n * `void ThrowIfZero(nint)`\n * `void ThrowIfZero\u003cT\u003e(T) where T : struct, IEquatable\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.argumentoutofrangeexception.throwifzero?view=net-11.0#system-argumentoutofrangeexception-throwifzero-1(-0-system-string))\n\n\n#### ArraySegment\u003cT\u003e\n\n * `void CopyTo\u003cT\u003e(ArraySegment\u003cT\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.arraysegment-1.copyto?view=net-11.0#system-arraysegment-1-copyto(-0()))\n * `void CopyTo\u003cT\u003e(T[], int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.arraysegment-1.copyto?view=net-11.0#system-arraysegment-1-copyto(-0()-system-int32))\n * `void CopyTo\u003cT\u003e(T[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.arraysegment-1.copyto?view=net-11.0#system-arraysegment-1-copyto(-0()))\n * `ArraySegmentEnumerator\u003cT\u003e GetEnumerator\u003cT\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.arraysegment-1.getenumerator?view=net-11.0)\n\n\n#### BinaryPrimitives\n\n * `double ReadDoubleBigEndian(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.readdoublebigendian?view=net-11.0)\n * `double ReadDoubleLittleEndian(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.readdoublelittleendian?view=net-11.0)\n * `float ReadSingleBigEndian(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.readsinglebigendian?view=net-11.0)\n * `float ReadSingleLittleEndian(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.readsinglelittleendian?view=net-11.0)\n * `bool TryReadDoubleBigEndian(ReadOnlySpan\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.tryreaddoublebigendian?view=net-11.0)\n * `bool TryReadDoubleLittleEndian(ReadOnlySpan\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.tryreaddoublelittleendian?view=net-11.0)\n * `bool TryReadSingleBigEndian(ReadOnlySpan\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.tryreadsinglebigendian?view=net-11.0)\n * `bool TryReadSingleLittleEndian(ReadOnlySpan\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.tryreadsinglelittleendian?view=net-11.0)\n * `bool TryWriteDoubleBigEndian(Span\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.trywritedoublebigendian?view=net-11.0)\n * `bool TryWriteDoubleLittleEndian(Span\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.trywritedoublelittleendian?view=net-11.0)\n * `bool TryWriteSingleBigEndian(Span\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.trywritesinglebigendian?view=net-11.0)\n * `bool TryWriteSingleLittleEndian(Span\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.trywritesinglelittleendian?view=net-11.0)\n * `void WriteDoubleBigEndian(Span\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.writedoublebigendian?view=net-11.0)\n * `void WriteDoubleLittleEndian(Span\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.writedoublelittleendian?view=net-11.0)\n * `void WriteSingleBigEndian(Span\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.writesinglebigendian?view=net-11.0)\n * `void WriteSingleLittleEndian(Span\u003cbyte\u003e, float)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.buffers.binary.binaryprimitives.writesinglelittleendian?view=net-11.0)\n\n\n#### Boolean\n\n * `bool TryFormat(Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.boolean.tryformat?view=net-11.0)\n\n\n#### Byte\n\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryformat?view=net-11.0#system-byte-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryformat?view=net-11.0#system-byte-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, byte)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.byte.tryparse?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-byte-tryparse(system-string-system-iformatprovider-system-byte@))\n\n\n#### CancellationToken\n\n * `CancellationTokenRegistration Register(Action\u003cobject?, CancellationToken\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.register?view=net-11.0#system-threading-cancellationtoken-register(system-action((system-object-system-threading-cancellationtoken))-system-object))\n * `CancellationTokenRegistration UnsafeRegister(Action\u003cobject?, CancellationToken\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.unsaferegister?view=net-11.0#system-threading-cancellationtoken-unsaferegister(system-action((system-object-system-threading-cancellationtoken))-system-object))\n * `CancellationTokenRegistration UnsafeRegister(Action\u003cobject?\u003e, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtoken.unsaferegister?view=net-11.0#system-threading-cancellationtoken-unsaferegister(system-action((system-object))-system-object))\n\n\n#### CancellationTokenSource\n\n * `Task CancelAsync()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.threading.cancellationtokensource.cancelasync?view=net-11.0)\n\n\n#### Capture\n\n * `ValueSpan` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.regularexpressions.capture.valuespan?view=net-11.0)\n\n\n#### Char\n\n * `bool Equals(char, StringComparison)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.equals?view=net-11.0#system-char-equals(system-char-system-stringcomparison))\n * `bool IsAscii(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isascii?view=net-11.0)\n * `bool IsAsciiDigit(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciidigit?view=net-11.0)\n * `bool IsAsciiHexDigit(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciihexdigit?view=net-11.0)\n * `bool IsAsciiHexDigitLower(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciihexdigitlower?view=net-11.0)\n * `bool IsAsciiHexDigitUpper(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciihexdigitupper?view=net-11.0)\n * `bool IsAsciiLetter(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciiletter?view=net-11.0)\n * `bool IsAsciiLetterLower(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciiletterlower?view=net-11.0)\n * `bool IsAsciiLetterOrDigit(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciiletterordigit?view=net-11.0)\n * `bool IsAsciiLetterUpper(char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isasciiletterupper?view=net-11.0)\n * `bool IsBetween(char, char, char)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.char.isbetween?view=net-11.0)\n\n\n#### ConcurrentBag\u003cT\u003e\n\n * `void Clear\u003cT\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentbag-1.clear?view=net-11.0)\n\n\n#### ConcurrentDictionary\u003cTKey, TValue\u003e\n\n * `TValue GetOrAdd\u003cTKey, TValue, TArg\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?view=net-11.0#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()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.concurrent.concurrentqueue-1.clear?view=net-11.0)\n\n\n#### Console\n\n * `SafeFileHandle OpenStandardErrorHandle()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.console.openstandarderrorhandle?view=net-11.0)\n * `SafeFileHandle OpenStandardInputHandle()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.console.openstandardinputhandle?view=net-11.0)\n * `SafeFileHandle OpenStandardOutputHandle()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.console.openstandardoutputhandle?view=net-11.0)\n\n\n#### Convert\n\n * `OperationStatus FromHexString(ReadOnlySpan\u003cbyte\u003e, Span\u003cbyte\u003e, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-readonlyspan((system-byte))-system-span((system-byte))-system-int32@-system-int32@))\n * `byte[] FromHexString(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-readonlyspan((system-byte))))\n * `OperationStatus FromHexString(ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-readonlyspan((system-char))-system-span((system-byte))-system-int32@-system-int32@))\n * `byte[] FromHexString(ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-readonlyspan((system-char))))\n * `OperationStatus FromHexString(string, Span\u003cbyte\u003e, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-string-system-span((system-byte))-system-int32@-system-int32@))\n * `byte[] FromHexString(string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.fromhexstring?view=net-11.0#system-convert-fromhexstring(system-string))\n * `string ToHexString(byte[], int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstring?view=net-11.0#system-convert-tohexstring(system-byte()-system-int32-system-int32))\n * `string ToHexString(byte[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstring?view=net-11.0#system-convert-tohexstring(system-byte()))\n * `string ToHexString(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstring?view=net-11.0#system-convert-tohexstring(system-readonlyspan((system-byte))))\n * `string ToHexStringLower(byte[], int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstringlower?view=net-11.0#system-convert-tohexstringlower(system-byte()-system-int32-system-int32))\n * `string ToHexStringLower(byte[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstringlower?view=net-11.0#system-convert-tohexstringlower(system-byte()))\n * `string ToHexStringLower(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tohexstringlower?view=net-11.0#system-convert-tohexstringlower(system-readonlyspan((system-byte))))\n * `bool TryFromBase64Chars(ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tryfrombase64chars?view=net-11.0)\n * `bool TryFromBase64String(string, Span\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.tryfrombase64string?view=net-11.0)\n * `bool TryToBase64Chars(ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e, int, Base64FormattingOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.trytobase64chars?view=net-11.0)\n * `bool TryToHexString(ReadOnlySpan\u003cbyte\u003e, Span\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.trytohexstring?view=net-11.0#system-convert-trytohexstring(system-readonlyspan((system-byte))-system-span((system-byte))-system-int32@))\n * `bool TryToHexString(ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.trytohexstring?view=net-11.0#system-convert-trytohexstring(system-readonlyspan((system-byte))-system-span((system-char))-system-int32@))\n * `bool TryToHexStringLower(ReadOnlySpan\u003cbyte\u003e, Span\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.trytohexstringlower?view=net-11.0#system-convert-trytohexstringlower(system-readonlyspan((system-byte))-system-span((system-byte))-system-int32@))\n * `bool TryToHexStringLower(ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.convert.trytohexstringlower?view=net-11.0#system-convert-trytohexstringlower(system-readonlyspan((system-byte))-system-span((system-char))-system-int32@))\n\n\n#### DateOnly\n\n * `void Deconstruct(int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.deconstruct?view=net-11.0)\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.tryformat?view=net-11.0#system-dateonly-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.dateonly.tryformat?view=net-11.0#system-dateonly-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n\n\n#### DateTime\n\n * `DateTime AddMicroseconds(double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.addmicroseconds?view=net-11.0)\n * `void Deconstruct(DateOnly, TimeOnly)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.deconstruct?view=net-11.0#system-datetime-deconstruct(system-dateonly@-system-timeonly@))\n * `void Deconstruct(int, int, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.deconstruct?view=net-11.0#system-datetime-deconstruct(system-int32@-system-int32@-system-int32@))\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryformat?view=net-11.0#system-datetime-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryformat?view=net-11.0#system-datetime-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, DateTime)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.tryparse?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-datetime-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetime@))\n * `Microsecond` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.microsecond?view=net-11.0)\n * `Nanosecond` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetime.nanosecond?view=net-11.0)\n\n\n#### DateTimeOffset\n\n * `DateTimeOffset AddMicroseconds(double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.addmicroseconds?view=net-11.0)\n * `void Deconstruct(DateOnly, TimeOnly, TimeSpan)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.deconstruct?view=net-11.0)\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryformat?view=net-11.0#system-datetimeoffset-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryformat?view=net-11.0#system-datetimeoffset-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.tryparse?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-datetimeoffset-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-iformatprovider-system-globalization-datetimestyles-system-datetimeoffset@))\n * `Microsecond` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.microsecond?view=net-11.0)\n * `Nanosecond` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.datetimeoffset.nanosecond?view=net-11.0)\n\n\n#### Decimal\n\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryformat?view=net-11.0#system-decimal-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryformat?view=net-11.0#system-decimal-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-byte))-system-decimal@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, IFormatProvider?, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-byte))-system-iformatprovider-system-decimal@))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, NumberStyles, IFormatProvider?, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-byte))-system-globalization-numberstyles-system-iformatprovider-system-decimal@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-char))-system-decimal@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, IFormatProvider?, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-char))-system-iformatprovider-system-decimal@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, NumberStyles, IFormatProvider?, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-readonlyspan((system-char))-system-globalization-numberstyles-system-iformatprovider-system-decimal@))\n * `bool TryParse(string?, IFormatProvider?, decimal)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.decimal.tryparse?view=net-11.0#system-decimal-tryparse(system-string-system-iformatprovider-system-decimal@))\n\n\n#### DefaultInterpolatedStringHandler\n\n * `void Clear()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.compilerservices.defaultinterpolatedstringhandler.clear?view=net-11.0)\n\n\n#### Delegate\n\n * `InvocationListEnumerator\u003cTDelegate\u003e EnumerateInvocationList\u003cTDelegate\u003e(TDelegate?) where TDelegate : Delegate` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.delegate.enumerateinvocationlist?view=net-11.0)\n * `HasSingleTarget` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.delegate.hassingletarget?view=net-11.0)\n\n\n#### Dictionary\u003cTKey, TValue\u003e\n\n * `void EnsureCapacity\u003cTKey, TValue\u003e(int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.ensurecapacity?view=net-11.0)\n   * Note: No-op on older targets; the BCL grows the backing storage.\n * `DictionaryAlternateLookup\u003cTKey, TValue, TAlternateKey\u003e GetAlternateLookup\u003cTKey, TValue, TAlternateKey\u003e() where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.getalternatelookup?view=net-11.0)\n   * Note: Lookups are O(n) on older targets; the BCL is O(1).\n   * Note: Returns the free-standing `DictionaryAlternateLookup\u003cTKey, TValue, TAlternateKey\u003e` rather than the BCL's nested `Dictionary\u003cTKey, TValue\u003e.AlternateLookup\u003cTAlternateKey\u003e`. Use `var` for cross-target code.\n * `void TrimExcess\u003cTKey, TValue\u003e(int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.trimexcess?view=net-11.0#system-collections-generic-dictionary-2-trimexcess(system-int32))\n   * Note: No-op on older targets; the BCL shrinks the backing storage.\n * `void TrimExcess\u003cTKey, TValue\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.trimexcess?view=net-11.0#system-collections-generic-dictionary-2-trimexcess)\n   * Note: No-op on older targets; the BCL shrinks the backing storage.\n * `bool TryGetAlternateLookup\u003cTKey, TValue, TAlternateKey\u003e(DictionaryAlternateLookup\u003cTKey, TValue, TAlternateKey\u003e) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2.trygetalternatelookup?view=net-11.0)\n   * Note: Lookups are O(n) on older targets; the BCL is O(1).\n\n\n#### DictionaryEntry\n\n * `void Deconstruct(object, object?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.dictionaryentry.deconstruct?view=net-11.0#system-collections-dictionaryentry-deconstruct(system-object@-system-object@))\n\n\n#### Directory\n\n * `DirectoryInfo CreateTempSubdirectory(string?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.createtempsubdirectory?view=net-11.0)\n * `IEnumerable\u003cstring\u003e EnumerateDirectories(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.enumeratedirectories?view=net-11.0#system-io-directory-enumeratedirectories(system-string-system-string-system-io-enumerationoptions))\n * `IEnumerable\u003cstring\u003e EnumerateFiles(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.enumeratefiles?view=net-11.0#system-io-directory-enumeratefiles(system-string-system-string-system-io-enumerationoptions))\n * `IEnumerable\u003cstring\u003e EnumerateFileSystemEntries(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.enumeratefilesystementries?view=net-11.0#system-io-directory-enumeratefilesystementries(system-string-system-string-system-io-enumerationoptions))\n * `string[] GetDirectories(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getdirectories?view=net-11.0#system-io-directory-getdirectories(system-string-system-string-system-io-enumerationoptions))\n * `string[] GetFiles(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getfiles?view=net-11.0#system-io-directory-getfiles(system-string-system-string-system-io-enumerationoptions))\n * `string[] GetFileSystemEntries(string, string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directory.getfilesystementries?view=net-11.0#system-io-directory-getfilesystementries(system-string-system-string-system-io-enumerationoptions))\n\n\n#### DirectoryInfo\n\n * `IEnumerable\u003cDirectoryInfo\u003e EnumerateDirectories(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.enumeratedirectories?view=net-11.0#system-io-directoryinfo-enumeratedirectories(system-string-system-io-enumerationoptions))\n * `IEnumerable\u003cFileInfo\u003e EnumerateFiles(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.enumeratefiles?view=net-11.0#system-io-directoryinfo-enumeratefiles(system-string-system-io-enumerationoptions))\n * `IEnumerable\u003cFileSystemInfo\u003e EnumerateFileSystemInfos(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.enumeratefilesysteminfos?view=net-11.0#system-io-directoryinfo-enumeratefilesysteminfos(system-string-system-io-enumerationoptions))\n * `DirectoryInfo[] GetDirectories(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.getdirectories?view=net-11.0#system-io-directoryinfo-getdirectories(system-string-system-io-enumerationoptions))\n * `FileInfo[] GetFiles(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.getfiles?view=net-11.0#system-io-directoryinfo-getfiles(system-string-system-io-enumerationoptions))\n * `FileSystemInfo[] GetFileSystemInfos(string, EnumerationOptions)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.directoryinfo.getfilesysteminfos?view=net-11.0#system-io-directoryinfo-getfilesysteminfos(system-string-system-io-enumerationoptions))\n\n\n#### Double\n\n * `ulong DoubleToUInt64Bits(double)`\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryformat?view=net-11.0#system-double-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e, IFormatProvider?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryformat?view=net-11.0#system-double-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))-system-iformatprovider))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, double)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.double.tryparse?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-double-tryparse(system-string-system-iformatprovider-system-double@))\n\n\n#### Encoding\n\n * `int GetByteCount(ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getbytecount?view=net-11.0#system-text-encoding-getbytecount(system-readonlyspan((system-char))))\n * `int GetBytes(ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getbytes?view=net-11.0#system-text-encoding-getbytes(system-readonlyspan((system-char))-system-span((system-byte))))\n * `int GetCharCount(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getcharcount?view=net-11.0#system-text-encoding-getcharcount(system-readonlyspan((system-byte))))\n * `int GetChars(ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getchars?view=net-11.0#system-text-encoding-getchars(system-readonlyspan((system-byte))-system-span((system-char))))\n * `string GetString(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.getstring?view=net-11.0#system-text-encoding-getstring(system-readonlyspan((system-byte))))\n * `bool TryGetBytes(ReadOnlySpan\u003cchar\u003e, Span\u003cbyte\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.trygetbytes?view=net-11.0)\n * `bool TryGetChars(ReadOnlySpan\u003cbyte\u003e, Span\u003cchar\u003e, int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.trygetchars?view=net-11.0)\n * `Latin1` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.text.encoding.latin1?view=net-11.0)\n\n\n#### Enum\n\n * `string[] GetNames\u003cTEnum\u003e() where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getnames?view=net-11.0)\n * `TEnum[] GetValues\u003cTEnum\u003e() where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getvalues?view=net-11.0)\n * `Array GetValuesAsUnderlyingType(Type)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getvaluesasunderlyingtype?view=net-11.0#system-enum-getvaluesasunderlyingtype(system-type))\n * `Array GetValuesAsUnderlyingType\u003cTEnum\u003e() where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.getvaluesasunderlyingtype?view=net-11.0#system-enum-getvaluesasunderlyingtype-1)\n * `bool IsDefined\u003cTEnum\u003e(TEnum) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.isdefined?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-enum-parse-1(system-string-system-boolean))\n * `bool TryFormat\u003cTEnum\u003e(TEnum, Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e) where TEnum : struct, Enum` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.enum.tryformat?view=net-11.0)\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?view=net-11.0#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?view=net-11.0#system-enum-tryparse-1(system-readonlyspan((system-char))-0@))\n\n\n#### Enumerable\n\n * `IEnumerable\u003cT\u003e InfiniteSequence\u003cT\u003e(T, T) where T : IAdditionOperators\u003cT, T, T\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.infinitesequence?view=net-11.0)\n * `IEnumerable\u003cT\u003e Sequence\u003cT\u003e(T, T, T) where T : INumber\u003cT\u003e` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.sequence?view=net-11.0)\n\n\n#### Environment\n\n * `ProcessId` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.environment.processid?view=net-11.0#system-environment-processid)\n * `ProcessPath` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.environment.processpath?view=net-11.0#system-environment-processpath)\n\n\n#### EqualityComparer\n\n * `EqualityComparer\u003cT\u003e Create(Func\u003cT?, T?, bool\u003e, Func\u003cT, int\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.equalitycomparer-1.create?view=net-11.0)\n\n\n#### EventInfo\n\n * `NullabilityState GetNullability()`\n * `NullabilityInfo GetNullabilityInfo()`\n * `bool IsNullable()`\n\n\n#### ExceptionDispatchInfo\n\n * `Exception SetCurrentStackTrace(Exception)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.runtime.exceptionservices.exceptiondispatchinfo.setcurrentstacktrace?view=net-11.0)\n\n\n#### FieldInfo\n\n * `NullabilityState GetNullability()`\n * `NullabilityInfo GetNullabilityInfo()`\n * `bool IsNullable()`\n\n\n#### File\n\n * `void AppendAllBytes(string, byte[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.appendallbytes?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-io-file-appendalltextasync(system-string-system-string-system-text-encoding-system-threading-cancellationtoken))\n * `FileSystemInfo CreateHardLink(string, string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.createhardlink?view=net-11.0)\n * `void Move(string, string, bool)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.move?view=net-11.0#system-io-file-move(system-string-system-string-system-boolean))\n * `SafeFileHandle OpenNullHandle()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.opennullhandle?view=net-11.0)\n * `Task\u003cbyte[]\u003e ReadAllBytesAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readallbytesasync?view=net-11.0)\n * `Task\u003cstring[]\u003e ReadAllLinesAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.readalllinesasync?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-io-file-writealltextasync(system-string-system-string-system-text-encoding-system-threading-cancellationtoken))\n\n\n#### FileInfo\n\n * `void CreateAsHardLink(string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.fileinfo.createashardlink?view=net-11.0)\n\n\n#### FileUnixMode\n\n * `UnixFileMode GetUnixFileMode(string)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.getunixfilemode?view=net-11.0#system-io-file-getunixfilemode(system-string))\n * `void SetUnixFileMode(string, UnixFileMode)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.io.file.setunixfilemode?view=net-11.0#system-io-file-setunixfilemode(system-string-system-io-unixfilemode))\n\n\n#### GC\n\n * `T[] AllocateUninitializedArray\u003cT\u003e(int, bool)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.gc.allocateuninitializedarray?view=net-11.0)\n\n\n#### Guid\n\n * `bool TryFormat(Span\u003cbyte\u003e, int, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryformat?view=net-11.0#system-guid-tryformat(system-span((system-byte))-system-int32@-system-readonlyspan((system-char))))\n * `bool TryFormat(Span\u003cchar\u003e, int, ReadOnlySpan\u003cchar\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryformat?view=net-11.0#system-guid-tryformat(system-span((system-char))-system-int32@-system-readonlyspan((system-char))))\n * `Guid CreateVersion7()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7?view=net-11.0#system-guid-createversion7)\n * `Guid CreateVersion7(DateTimeOffset)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.createversion7?view=net-11.0#system-guid-createversion7(system-datetimeoffset))\n * `Guid Parse(ReadOnlySpan\u003cbyte\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.parse?view=net-11.0#system-guid-parse(system-readonlyspan((system-byte))))\n * `bool TryParse(ReadOnlySpan\u003cbyte\u003e, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparse?view=net-11.0#system-guid-tryparse(system-readonlyspan((system-byte))-system-guid@))\n * `bool TryParse(ReadOnlySpan\u003cchar\u003e, Guid)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.tryparse?view=net-11.0#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?view=net-11.0#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?view=net-11.0#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?view=net-11.0#system-guid-tryparseexact(system-readonlyspan((system-char))-system-readonlyspan((system-char))-system-guid@))\n * `AllBitsSet` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.guid.allbitsset?view=net-11.0)\n\n\n#### HashSet\u003cT\u003e\n\n * `void EnsureCapacity\u003cT\u003e(int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.ensurecapacity?view=net-11.0#system-collections-generic-hashset-1-ensurecapacity(system-int32))\n   * Note: No-op on older targets; the BCL grows the backing storage.\n * `HashSetAlternateLookup\u003cT, TAlternate\u003e GetAlternateLookup\u003cT, TAlternate\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.getalternatelookup?view=net-11.0)\n   * Note: Lookups are O(n) on older targets; the BCL is O(1).\n   * Note: Returns the free-standing `HashSetAlternateLookup\u003cT, TAlternate\u003e` rather than the BCL's nested `HashSet\u003cT\u003e.AlternateLookup\u003cTAlternate\u003e`. Use `var` for cross-target code.\n * `void TrimExcess\u003cT\u003e(int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.trimexcess?view=net-11.0#system-collections-generic-hashset-1-trimexcess(system-int32))\n   * Note: No-op on older targets; the BCL shrinks the backing storage.\n * `bool TryGetAlternateLookup\u003cT, TAlternate\u003e(HashSetAlternateLookup\u003cT, TAlternate\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.trygetalternatelookup?view=net-11.0)\n   * Note: Lookups are O(n) on older targets; the BCL is O(1).\n * `bool TryGetValue\u003cT\u003e(T, T)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.hashset-1.trygetvalue?view=net-11.0)\n\n\n#### HttpClient\n\n * `Task\u003cbyte[]\u003e GetByteArrayAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getbytearrayasync?view=net-11.0#system-net-http-httpclient-getbytearrayasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cbyte[]\u003e GetByteArrayAsync(Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getbytearrayasync?view=net-11.0#system-net-http-httpclient-getbytearrayasync(system-uri-system-threading-cancellationtoken))\n * `Task\u003cStream\u003e GetStreamAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstreamasync?view=net-11.0#system-net-http-httpclient-getstreamasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cStream\u003e GetStreamAsync(Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstreamasync?view=net-11.0#system-net-http-httpclient-getstreamasync(system-uri-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e GetStringAsync(string, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstringasync?view=net-11.0#system-net-http-httpclient-getstringasync(system-string-system-threading-cancellationtoken))\n * `Task\u003cstring\u003e GetStringAsync(Uri, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.getstringasync?view=net-11.0#system-net-http-httpclient-getstringasync(system-uri-system-threading-cancellationtoken))\n * `Task\u003cHttpResponseMessage\u003e PatchAsync(string?, HttpContent?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.patchasync?view=net-11.0#system-net-http-httpclient-patchasync(system-string-system-net-http-httpcontent-system-threading-cancellationtoken))\n * `Task\u003cHttpResponseMessage\u003e PatchAsync(string?, HttpContent?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.patchasync?view=net-11.0#system-net-http-httpclient-patchasync(system-string-system-net-http-httpcontent))\n * `Task\u003cHttpResponseMessage\u003e PatchAsync(Uri?, HttpContent?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.patchasync?view=net-11.0#system-net-http-httpclient-patchasync(system-uri-system-net-http-httpcontent-system-threading-cancellationtoken))\n * `Task\u003cHttpResponseMessage\u003e PatchAsync(Uri?, HttpContent?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.patchasync?view=net-11.0#system-net-http-httpclient-patchasync(system-uri-system-net-http-httpcontent))\n * `HttpResponseMessage Send(HttpRequestMessage, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.send?view=net-11.0#system-net-http-httpclient-send(system-net-http-httprequestmessage-system-threading-cancellationtoken))\n * `HttpResponseMessage Send(HttpRequestMessage, HttpCompletionOption, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.send?view=net-11.0#system-net-http-httpclient-send(system-net-http-httprequestmessage-system-net-http-httpcompletionoption-system-threading-cancellationtoken))\n * `HttpResponseMessage Send(HttpRequestMessage, HttpCompletionOption)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.send?view=net-11.0#system-net-http-httpclient-send(system-net-http-httprequestmessage-system-net-http-httpcompletionoption))\n * `HttpResponseMessage Send(HttpRequestMessage)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclient.send?view=net-11.0#system-net-http-httpclient-send(system-net-http-httprequestmessage))\n\n\n#### HttpContent\n\n * `void CopyTo(Stream, System.Net.TransportContext?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.copyto?view=net-11.0)\n * `Task CopyToAsync(Stream, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.copytoasync?view=net-11.0#system-net-http-httpcontent-copytoasync(system-io-stream-system-threading-cancellationtoken))\n * `Task CopyToAsync(Stream, System.Net.TransportContext?, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.copytoasync?view=net-11.0#system-net-http-httpcontent-copytoasync(system-io-stream-system-net-transportcontext-system-threading-cancellationtoken))\n * `Task LoadIntoBufferAsync(CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.loadintobufferasync?view=net-11.0#system-net-http-httpcontent-loadintobufferasync(system-threading-cancellationtoken))\n * `Task LoadIntoBufferAsync(long, CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.loadintobufferasync?view=net-11.0#system-net-http-httpcontent-loadintobufferasync(system-int64-system-threading-cancellationtoken))\n * `Task\u003cbyte[]\u003e ReadAsByteArrayAsync(CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasbytearrayasync?view=net-11.0#system-net-http-httpcontent-readasbytearrayasync(system-threading-cancellationtoken))\n * `Stream ReadAsStream(CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstream?view=net-11.0#system-net-http-httpcontent-readasstream(system-threading-cancellationtoken))\n * `Task\u003cStream\u003e ReadAsStreamAsync(CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstreamasync?view=net-11.0#system-net-http-httpcontent-readasstreamasync(system-threading-cancellationtoken))\n * `Task\u003cstring\u003e ReadAsStringAsync(CancellationToken)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpcontent.readasstringasync?view=net-11.0#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() where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.asreadonly?view=net-11.0#system-collections-generic-collectionextensions-asreadonly-2(system-collections-generic-idictionary((-0-1))))\n * `bool Remove\u003cTKey, TValue\u003e(TKey, TValue) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.remove?view=net-11.0)\n * `bool TryAdd\u003cTKey, TValue\u003e(TKey, TValue) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.collectionextensions.tryadd?view=net-11.0)\n\n\n#### IEnumerable\u003cKeyValuePair\u003cTKey, TValue\u003e\u003e\n\n * `Dictionary\u003cTKey, TValue\u003e ToDictionary\u003cTKey, TValue\u003e(IEqualityComparer\u003cTKey\u003e?) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.todictionary?view=net-11.0#system-linq-enumerable-todictionary-2(system-collections-generic-ienumerable(system-collections-generic-keyvaluepair(-0-1))-system-collections-generic-iequalitycomparer(-0)))\n\n\n#### IEnumerable\u003cT\u003e\n\n * `IOrderedEnumerable\u003cT\u003e Order\u003cT\u003e(IComparer\u003cT\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.order?view=net-11.0#system-linq-enumerable-order-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `IOrderedEnumerable\u003cT\u003e Order\u003cT\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.order?view=net-11.0#system-linq-enumerable-order-1(system-collections-generic-ienumerable((-0))))\n * `IOrderedEnumerable\u003cT\u003e OrderDescending\u003cT\u003e(IComparer\u003cT\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.orderdescending?view=net-11.0#system-linq-enumerable-orderdescending-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `IOrderedEnumerable\u003cT\u003e OrderDescending\u003cT\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.orderdescending?view=net-11.0#system-linq-enumerable-orderdescending-1(system-collections-generic-ienumerable((-0))))\n\n\n#### IEnumerable\u003cTFirst\u003e\n\n * `IEnumerable\u003c(TFirst First, TSecond Second, TThird Third)\u003e Zip\u003cTFirst, TSecond, TThird\u003e(IEnumerable\u003cTSecond\u003e, IEnumerable\u003cTThird\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.zip?view=net-11.0#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\u003cTSecond\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.zip?view=net-11.0#system-linq-enumerable-zip-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))))\n\n\n#### IEnumerable\u003cTOuter\u003e\n\n * `IEnumerable\u003cTResult\u003e LeftJoin\u003cTOuter, TInner, TKey, TResult\u003e(IEnumerable\u003cTInner\u003e, Func\u003cTOuter, TKey\u003e, Func\u003cTInner, TKey\u003e, Func\u003cTOuter, TInner?, TResult\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.leftjoin?view=net-11.0#system-linq-enumerable-leftjoin-4(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-2))-system-func((-1-2))-system-func((-0-1-3))-system-collections-generic-iequalitycomparer((-2))))\n * `IEnumerable\u003cTResult\u003e LeftJoin\u003cTOuter, TInner, TKey, TResult\u003e(IEnumerable\u003cTInner\u003e, Func\u003cTOuter, TKey\u003e, Func\u003cTInner, TKey\u003e, Func\u003cTOuter, TInner?, TResult\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.leftjoin?view=net-11.0#system-linq-enumerable-leftjoin-4(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-2))-system-func((-1-2))-system-func((-0-1-3))))\n * `IEnumerable\u003cTResult\u003e RightJoin\u003cTOuter, TInner, TKey, TResult\u003e(IEnumerable\u003cTInner\u003e, Func\u003cTOuter, TKey\u003e, Func\u003cTInner, TKey\u003e, Func\u003cTOuter?, TInner, TResult\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.rightjoin?view=net-11.0#system-linq-enumerable-rightjoin-4(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-2))-system-func((-1-2))-system-func((-0-1-3))-system-collections-generic-iequalitycomparer((-2))))\n * `IEnumerable\u003cTResult\u003e RightJoin\u003cTOuter, TInner, TKey, TResult\u003e(IEnumerable\u003cTInner\u003e, Func\u003cTOuter, TKey\u003e, Func\u003cTInner, TKey\u003e, Func\u003cTOuter?, TInner, TResult\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.rightjoin?view=net-11.0#system-linq-enumerable-rightjoin-4(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-2))-system-func((-1-2))-system-func((-0-1-3))))\n\n\n#### IEnumerable\u003cTSource\u003e\n\n * `IEnumerable\u003cKeyValuePair\u003cTKey, TAccumulate\u003e\u003e AggregateBy\u003cTSource, TKey, TAccumulate\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?view=net-11.0#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\u003cKeyValuePair\u003cTKey, TAccumulate\u003e\u003e AggregateBy\u003cTSource, TKey, TAccumulate\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?view=net-11.0#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\u003cTSource\u003e Append\u003cTSource\u003e(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.append?view=net-11.0)\n * `IEnumerable\u003cTSource[]\u003e Chunk\u003cTSource\u003e(int)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.chunk?view=net-11.0)\n * `IEnumerable\u003cKeyValuePair\u003cTKey, int\u003e\u003e CountBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?) where TKey : notnull` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.countby?view=net-11.0)\n * `IEnumerable\u003cTSource\u003e DistinctBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.distinctby?view=net-11.0#system-linq-enumerable-distinctby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-iequalitycomparer((-1))))\n * `IEnumerable\u003cTSource\u003e DistinctBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.distinctby?view=net-11.0#system-linq-enumerable-distinctby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `TSource ElementAt\u003cTSource\u003e(Index)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementat?view=net-11.0#system-linq-enumerable-elementat-1(system-collections-generic-ienumerable((-0))-system-index))\n * `TSource? ElementAtOrDefault\u003cTSource\u003e(Index)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.elementatordefault?view=net-11.0#system-linq-enumerable-elementatordefault-1(system-collections-generic-ienumerable((-0))-system-index))\n * `IEnumerable\u003cTSource\u003e Except\u003cTSource\u003e(IEqualityComparer\u003cTSource\u003e?, TSource[])` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except?view=net-11.0#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(TSource, IEqualityComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except?view=net-11.0#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(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.except?view=net-11.0#system-linq-enumerable-except-1(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-0))))\n * `IEnumerable\u003cTSource\u003e ExceptBy\u003cTSource, TKey\u003e(IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.exceptby?view=net-11.0#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 * `IEnumerable\u003cTSource\u003e ExceptBy\u003cTSource, TKey\u003e(IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.exceptby?view=net-11.0#system-linq-enumerable-exceptby-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-1))))\n * `TSource FirstOrDefault\u003cTSource\u003e(Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.firstordefault?view=net-11.0#system-linq-enumerable-firstordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource FirstOrDefault\u003cTSource\u003e(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.firstordefault?view=net-11.0#system-linq-enumerable-firstordefault-1(system-collections-generic-ienumerable((-0))-0))\n * `IEnumerable\u003c(int Index, TSource Item)\u003e Index\u003cTSource\u003e()` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.index?view=net-11.0#system-linq-enumerable-index-1(system-collections-generic-ienumerable((-0))))\n * `IEnumerable\u003cTSource\u003e IntersectBy\u003cTSource, TKey\u003e(IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e, IEqualityComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.intersectby?view=net-11.0#system-linq-enumerable-intersectby-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-1))-system-collections-generic-iequalitycomparer((-1))))\n * `IEnumerable\u003cTSource\u003e IntersectBy\u003cTSource, TKey\u003e(IEnumerable\u003cTKey\u003e, Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.intersectby?view=net-11.0#system-linq-enumerable-intersectby-2(system-collections-generic-ienumerable((-0))-system-collections-generic-ienumerable((-1))-system-func((-0-1))))\n * `TSource LastOrDefault\u003cTSource\u003e(Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.lastordefault?view=net-11.0#system-linq-enumerable-lastordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource LastOrDefault\u003cTSource\u003e(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.lastordefault?view=net-11.0#system-linq-enumerable-lastordefault-1(system-collections-generic-ienumerable((-0))-0))\n * `TSource? Max\u003cTSource\u003e(IComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.max?view=net-11.0#system-linq-enumerable-max-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `TSource? MaxBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e, IComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.maxby?view=net-11.0#system-linq-enumerable-maxby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-icomparer((-1))))\n * `TSource? MaxBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.maxby?view=net-11.0#system-linq-enumerable-maxby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `TSource? Min\u003cTSource\u003e(IComparer\u003cTSource\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.min?view=net-11.0#system-linq-enumerable-min-1(system-collections-generic-ienumerable((-0))-system-collections-generic-icomparer((-0))))\n * `TSource? MinBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e, IComparer\u003cTKey\u003e?)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.minby?view=net-11.0#system-linq-enumerable-minby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))-system-collections-generic-icomparer((-1))))\n * `TSource? MinBy\u003cTSource, TKey\u003e(Func\u003cTSource, TKey\u003e)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.minby?view=net-11.0#system-linq-enumerable-minby-2(system-collections-generic-ienumerable((-0))-system-func((-0-1))))\n * `IEnumerable\u003cTSource\u003e Prepend\u003cTSource\u003e(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.prepend?view=net-11.0)\n * `TSource SingleOrDefault\u003cTSource\u003e(Func\u003cTSource, bool\u003e, TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumerable.singleordefault?view=net-11.0#system-linq-enumerable-singleordefault-1(system-collections-generic-ienumerable((-0))-system-func((-0-system-boolean))-0))\n * `TSource SingleOrDefault\u003cTSource\u003e(TSource)` [reference](https://learn.microsoft.com/en-us/dotnet/api/system.linq.enumer","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"}