Skip to content

Proof-of-Concept of implementing extension methods/properties/operators in C#, with no changes to the compiler or runtime

Notifications You must be signed in to change notification settings

BlinD-HuNTeR/ExtensionEverything-POC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ExtensionEverything - POC

This package demonstrates a way to implement extension members in C# (methods, properties, and even operators), with no modifications to the language.

The concept is to use mono.cecil to modify the assemblies referenced by your projects, at compile-only (no modifications are made at runtime). For this I am using the Blur package, which allows an assembly to instrument itself at build time (but this package is super buggy, and it's not an absolute requirement to make this thing work, just used it cause it made things easier).

About

Proof-of-Concept of implementing extension methods/properties/operators in C#, with no changes to the compiler or runtime

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages