2 ms·
It is a library on top of the CLR, but it cannot function without CLR-specific capabilities. For example DynamicMethod, which represents a method reference tha
by bad_user 15y ago
It is a library on top of the CLR, but it cannot function without CLR-specific capabilities.
For example DynamicMethod, which represents a method reference that can be created at runtime and garbage-collected when no longer in use; similar to the lightweight method handlers in JSR 292.
That said, modifying existing classes on top of the CLR is not possible, unless it inherits from something like ExpandoObject, but you can pull the same trick in Java (though not as easily until JSR 292 comes out).