Meziantou.Polyfill 1.0.10

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Meziantou.Polyfill --version 1.0.10
                    
NuGet\Install-Package Meziantou.Polyfill -Version 1.0.10
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Meziantou.Polyfill" Version="1.0.10">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Meziantou.Polyfill" Version="1.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Meziantou.Polyfill">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Meziantou.Polyfill --version 1.0.10
                    
#r "nuget: Meziantou.Polyfill, 1.0.10"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Meziantou.Polyfill&version=1.0.10
                    
Install Meziantou.Polyfill as a Cake Addin
#tool nuget:?package=Meziantou.Polyfill&version=1.0.10
                    
Install Meziantou.Polyfill as a Cake Tool

Meziantou.Polyfill

Source Generator that adds polyfill methods and types. This helps working with multi-targeted projects.

How to add a new polyfill

  • Create a new file named <xml documentation id>.cs in the project Meziantou.Polyfill.Editor
  • Run Meziantou.Polyfill.Generator

Notes:

  • All files must be self contained. Use a file class if needed.
  • If you need to generate a file only when another polyfill is generated, add // when <xml documentation id> in the file
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (6)

Showing the top 6 popular GitHub repositories that depend on Meziantou.Polyfill:

Repository Stars
riok/mapperly
A .NET source generator for generating object mappings. No runtime reflection.
bUnit-dev/bUnit
bUnit is a testing library for Blazor components that make tests look, feel, and runs like regular unit tests. bUnit makes it easy to render and control a component under test’s life-cycle, pass parameter and inject services into it, trigger event handlers, and verify the rendered markup from the component using a built-in semantic HTML comparer.
meziantou/Meziantou.Analyzer
A Roslyn analyzer to enforce some good practices in C#.
meziantou/Meziantou.Framework
minio/minio-dotnet
MinIO Client SDK for .NET
ngraziano/SharpRTSP
A RTSP handling library
Version Downloads Last updated
1.0.43 267 4/11/2025
1.0.42 23,618 11/16/2024
1.0.41 1,653 11/13/2024
1.0.40 5,301 10/9/2024
1.0.39 15,185 7/2/2024
1.0.38 10,574 4/27/2024
1.0.37 2,903 3/21/2024
1.0.36 4,649 2/28/2024
1.0.35 700 2/21/2024
1.0.34 4,629 2/7/2024
1.0.33 1,723 1/13/2024
1.0.32 471 1/10/2024
1.0.31 6,552 12/2/2023
1.0.30 10,307 10/10/2023
1.0.29 361 10/7/2023
1.0.28 537 10/5/2023
1.0.27 2,832 9/5/2023
1.0.26 4,275 8/12/2023
1.0.25 793 8/7/2023
1.0.24 588 8/7/2023
1.0.23 281 8/7/2023
1.0.22 333 8/7/2023
1.0.21 517 8/2/2023
1.0.20 226 8/2/2023
1.0.19 214 8/2/2023
1.0.18 494 7/18/2023
1.0.17 3,528 7/16/2023
1.0.16 1,297 7/12/2023
1.0.15 199 7/12/2023
1.0.14 905 7/7/2023
1.0.13 228 7/7/2023
1.0.12 261 7/7/2023
1.0.11 536 6/25/2023
1.0.10 196 6/25/2023
1.0.9 204 6/25/2023
1.0.8 193 6/25/2023
1.0.7 164 6/25/2023
1.0.6 170 6/23/2023
1.0.5 201 6/9/2023
1.0.4 212 6/9/2023
1.0.3 204 6/8/2023
1.0.2 186 6/7/2023
1.0.1 1,021 6/7/2023
1.0.0 236 6/7/2023