Search code examples
c#attributes

Is there an attribute that is effectively the opposite of ObsoleteAttribute?


In other words, is there an Attribute that marks a segment of code as not too old, but too new and therefore not quite ready for widespread use?

If I'd have to create a custom Attribute to accomplish this, that's fine. I just wanted to make sure first.


Solution

  • No, there's nothing standardized around this. You might want to consider just not exposing code like that though - or only exposing it in beta builds etc.