Hello Alik, Gendarme official releases occurs at the same time as Mono releases. The beta cycle for 2.11 should start soon - but we're a few months away from a stable 2.12.
Sebastien On Tue, Feb 14, 2012 at 7:29 AM, Alik Kurdyukov <[email protected]> wrote: > Jb, > > Thank you for hotfixing the problem. Do you have any dates for next Gendarme > release? > > -- > Best regards, > Alik Kurdyukov > > On Monday, February 13, 2012 at 8:23 PM, Jb Evain wrote: > > I see, > > This is a Microsoft C# compiler bug: > > https://connect.microsoft.com/VisualStudio/feedback/details/595412/bug-in-nopia-emission-of-vtblgap-methods > > They emit managed methods which claim to be managed but are actually > implemented by the runtime. Not that they care a lot. > > I committed a fix to gendarme > (1fbb7ea90bbb96d2d28f9567ec7dee8dc735cfc7), you can either build > gendarme yourself or have the sonar guys cherry-pick this fix. > > Jb > > On Mon, Feb 13, 2012 at 4:01 PM, Alik Kurdyukov <[email protected]> > wrote: > > Thank you for code sample. For my assembly it gives: > > Method with empty body: System.Void > P2ClientGateMTA.IP2Connection::_VtblGap1_1() > Method with empty body: System.Void > P2ClientGateMTA.IP2Connection::_VtblGap2_5() > Method with empty body: System.Void > P2ClientGateMTA.IP2Connection::_VtblGap3_2() > Method with empty body: System.Void > P2ClientGateMTA.IP2Connection::_VtblGap4_2() > Method with empty body: System.Void > P2ClientGateMTA.IP2TableSet::_VtblGap1_4() > Method with empty body: System.Void > P2ClientGateMTA.IP2TableSet::_VtblGap2_5() > Method with empty body: System.Void > P2ClientGateMTA.IP2DataStreamEvents_Event::_VtblGap1_2() > Method with empty body: System.Void > P2ClientGateMTA.IP2DataStreamEvents_Event::_VtblGap2_4() > Method with empty body: System.Void > P2ClientGateMTA.IP2BLMessage::_VtblGap1_3() > Method with empty body: System.Void > P2ClientGateMTA.IP2BLMessage::_VtblGap2_3() > Method with empty body: System.Void > P2ClientGateMTA.IP2DataStreamEvents::_VtblGap1_1() > Method with empty body: System.Void > P2ClientGateMTA.IP2DataStreamEvents::_VtblGap2_2() > > BTW, I can give you binaries for P2ClientGateMTA assembly. Can it be of any > help? > > -- > Best regards, > Alik Kurdyukov > > On Monday, February 13, 2012 at 6:31 PM, Jb Evain wrote: > > On Mon, Feb 13, 2012 at 2:35 PM, Alik Kurdyukov <[email protected]> > wrote: > > I'm not sure I understand what's HasBody flag for methods. How can I check > the assumption? > > > You can run on your assembly a piece of code using Cecil like: > > var module = ModuleDefinition.ReadModule("MyAssembly.dll"); > foreach (var method in module.GetTypes().SelectMany(t => > t.Methods).Where(m => m.HasBody && m.Body.Instructions.Count == 0)) { > Console.WriteLine ("Method with empty body: {0}", method); > } > > And you'll have the names of actual methods with empty bodies. > > Jb > > -- > You received this message because you are subscribed to the Google Groups > "Gendarme" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gendarme?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Gendarme" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gendarme?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Gendarme" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gendarme?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Gendarme" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/gendarme?hl=en. -- You received this message because you are subscribed to the Google Groups "Gendarme" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/gendarme?hl=en.

