Install
dotnet add package Meziantou.Polyfill --version 1.0.10
| Product | Versions |
|---|---|
| .NET Standard |
README
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>.csin the projectMeziantou.Polyfill.Editor - Run
Meziantou.Polyfill.Generator
Notes:
- All files must be self contained. Use a
file classif needed. - If you need to generate a file only when another polyfill is generated, add
// when <xml documentation id>in the file
Changes from Previous Version
No structural changes between v1.0.9 and v1.0.10.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
Compatibility metadata lists 1 target framework; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.