Re: [Mono-dev] Mono.Cecil.MethodDefinition.Is* properties

2007-10-01 Thread Sanghyeon Seo
2007/10/1, Sanghyeon Seo [EMAIL PROTECTED]: Shouldn't = be ^= instead? The current implementation doesn't return True for m.IsPublic even after m.IsPublic = true is executed. Should be = ~masked, instead of = masked, like other properties? -- Seo Sanghyeon

Re: [Mono-dev] Mono.Cecil.MethodDefinition.Is* properties

2007-10-01 Thread Jb Evain
Hey, On 10/1/07, Sanghyeon Seo [EMAIL PROTECTED] wrote: Should be = ~masked, instead of = masked, like other properties? Yeah, good catch. This is a regression I introduced when I wrote the Is* property generator. The good news is that now, I only have to change the code generator to change all

[Mono-dev] Mono.Cecil.MethodDefinition.Is* properties

2007-09-30 Thread Sanghyeon Seo
Hi, Mono.Cecil.MethodDefinition.Is* properties are settable, and are implemented as: public bool IsPublic { get { return (m_attributes MethodAttributes.MemberAccessMask) == MethodAttributes.Public; } set { MethodAttributes masked =