Decompilation is hard... 3/6/2013 5:38:00 PM

JustDecompile 2013.1.225.1

public bool IsAbstract
{
    get
    {
        return (this.GetAttributeFlagsImpl() & TypeAttributes.Abstract) != TypeAttributes.NotPublic;
    }
}

 

Reflector 8.0.2.313From Clipboar

public bool IsAbstract
{
get
{
return ((this.GetAttributeFlagsImpl() & TypeAttributes.Abstract) != TypeAttributes.AnsiClass);
}
}

 

+ Comment
Eric The trick here is that the code is really just testing for Zero, which is defined *four* different ways in the TypeAttributes enumeration.


< Eric's Blog Home


©1998-2020 Eric Lawrence