This project is read-only.

Does somebody could tell if [UsedImplicitly] attribute is of any help with .NET 4.5 and Orchard ?

Topics: General, Writing modules
Aug 27, 2015 at 5:36 PM
Edited Aug 27, 2015 at 5:37 PM
I just discovered that I was keeping a Jebrain.Annotation file in OrchardFramework\Validation for my code which is using it.

Is it of any usage in reflection ?

It seems that this code is no more in Orchard from a long time.

Aug 28, 2015 at 10:31 AM
I believe it was decided that we don;t want to use it anymore. If memory serves me right, @decorum has been removing usages of it recently.
Aug 28, 2015 at 11:20 AM
Yeah it got removed. Interestingly the MVC team still use some of them, but they have projects per annotation - I can find them if anyone wants to see them.
Aug 29, 2015 at 9:13 PM
Ok. And is it removed because it is useless. From what I understand it protects a class or a method from being scavenged by the compiler ? Is no more necessary ?