Hey Fabian!

Thanks for your answers :)

On Thu, Nov 25, 2010 at 8:37 AM, Fabian Schmied
<[email protected]> wrote:
> Check the MethodDefinition's attributes using bitwise arithmetics. You
> can use the MemberAccessMask to reduce the attributes value to get the
> accessibility bits.

Either that or using the Is* accessors that are mapped to the
attributes, IsCompilerControlled, IsPrivate, IsFamilyAndAssembly, ...

In this case, the C# protected keywork maps to the family flag.

Jb

-- 
--
mono-cecil

Reply via email to