jeudi 30 juin 2022

How is the IsDefined method internally implemented in C# .Net?

As can be seen from the Microsoft reference source code:

    public virtual bool IsDefined(Type attributeType, bool inherit)
    {
        throw new NotImplementedException();
    }

All overloads for IsDefined boil down to this one.

So how is this method implemented internally or is it implemented by the compiler?





Aucun commentaire:

Enregistrer un commentaire