4 ms·
The CLR already supports arbitrary attributes on methods and parameters. So one could implement this entirely in the language and still target old versions of
by wvenable 11y ago
The CLR already supports arbitrary attributes on methods and parameters. So one could implement this entirely in the language and still target old versions of the CLR.
- MichaelGG 11y agoThey can smuggle it in via attributes. But if they don't make this part of the CLR spec, then not really cross-platform and more like C#'s extension methods. Ideally these features would be designed at a higher level, in the CLR, aimed to target as many languages as possible. I.e., they shouldn't be proposed as C# extensions.