<Type Name="MethodRocks" FullName="Gendarme.Framework.Rocks.MethodRocks">
  <TypeSignature Language="C#" Value="public static class MethodRocks" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi abstract sealed beforefieldinit MethodRocks extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>Gendarme.Framework</AssemblyName>
    <AssemblyVersion>2.11.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <summary>
            MethodRocks contains extensions methods for Method[Definition|Reference]
            and the related collection classes.
            Note: whenever possible try to use MethodReference since it's extend the
            reach/usability of the code.
            </summary>
    <remarks>To be added.</remarks>
  </Docs>
  <Members>
    <Member MemberName="CompareSignature">
      <MemberSignature Language="C#" Value="public static bool CompareSignature (this Mono.Cecil.IMethodSignature self, Mono.Cecil.IMethodSignature signature);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool CompareSignature(class Mono.Cecil.IMethodSignature self, class Mono.Cecil.IMethodSignature signature) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.IMethodSignature" RefType="this" />
        <Parameter Name="signature" Type="Mono.Cecil.IMethodSignature" />
      </Parameters>
      <Docs>
        <param name="self">&gt;The IMethodSignature on which the extension method can be called.</param>
        <param name="signature">The IMethodSignature which is being compared.</param>
        <summary>
            Compare the IMethodSignature members with the one being specified.
            </summary>
        <returns>True if the IMethodSignature members are identical, false otherwise</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="GetPropertyByAccessor">
      <MemberSignature Language="C#" Value="public static Mono.Cecil.PropertyDefinition GetPropertyByAccessor (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class Mono.Cecil.PropertyDefinition GetPropertyByAccessor(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>Mono.Cecil.PropertyDefinition</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Returns a property using supplied MethodReference of
            a property accessor method (getter or setter).
            </summary>
        <returns>PropertyDefinition which corresponds to the supplied MethodReference.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsEntryPoint">
      <MemberSignature Language="C#" Value="public static bool IsEntryPoint (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEntryPoint(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the MethodReference is defined as the entry point of it's assembly.
            </summary>
        <returns>True if the method is defined as the entry point of it's assembly, False otherwise</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsEventCallback">
      <MemberSignature Language="C#" Value="public static bool IsEventCallback (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsEventCallback(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the method has the signature of an Event callback.
            They are usually of the form: void Method (object sender, EventArgs ea), where
            the second parameters is either EventArgs or a subclass of it
            </summary>
        <returns>True if the method has the signature of an event callback.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsFinalizer">
      <MemberSignature Language="C#" Value="public static bool IsFinalizer (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsFinalizer(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the MethodReference is a finalizer.
            </summary>
        <returns>True if the method is a finalizer, False otherwise.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsGeneratedCode">
      <MemberSignature Language="C#" Value="public static bool IsGeneratedCode (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsGeneratedCode(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the method, or it's declaring type, was generated by the compiler or a tool (i.e. not by the developer).
            </summary>
        <returns>True if the code is not generated directly by the developer,
            False otherwise (e.g. compiler or tool generated)</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsMain">
      <MemberSignature Language="C#" Value="public static bool IsMain (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsMain(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the signature of a method is consitent for it's use as a Main method.
            Note: it doesn't check that the method is the EntryPoint of it's assembly.
            <code>
            static [void|int] Main ()
            static [void|int] Main (string[] args)
            </code></summary>
        <returns>True if the method is a valid Main, False otherwise.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsNamed">
      <MemberSignature Language="C#" Value="public static bool IsNamed (this Mono.Cecil.MemberReference self, string nameSpace, string typeName, string methodName);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsNamed(class Mono.Cecil.MemberReference self, string nameSpace, string typeName, string methodName) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MemberReference" RefType="this" />
        <Parameter Name="nameSpace" Type="System.String" />
        <Parameter Name="typeName" Type="System.String" />
        <Parameter Name="methodName" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="self">To be added.</param>
        <param name="nameSpace">To be added.</param>
        <param name="typeName">To be added.</param>
        <param name="methodName">To be added.</param>
        <summary>To be added.</summary>
        <returns>To be added.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsOverride">
      <MemberSignature Language="C#" Value="public static bool IsOverride (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsOverride(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if a method is an override to a virtual method of a base type.
            </summary>
        <returns>True if the method is an override to a virtual method, False otherwise</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsProperty">
      <MemberSignature Language="C#" Value="public static bool IsProperty (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsProperty(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the method corresponds to the get or set operation on a property.
            </summary>
        <returns>True if the method is a getter or a setter, False otherwise</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
    <Member MemberName="IsVisible">
      <MemberSignature Language="C#" Value="public static bool IsVisible (this Mono.Cecil.MethodReference self);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig bool IsVisible(class Mono.Cecil.MethodReference self) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.11.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Boolean</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="self" Type="Mono.Cecil.MethodReference" RefType="this" />
      </Parameters>
      <Docs>
        <param name="self">The MethodReference on which the extension method can be called.</param>
        <summary>
            Check if the method is visible outside of the assembly.
            </summary>
        <returns>True if the method can be used from outside of the assembly, false otherwise.</returns>
        <remarks>To be added.</remarks>
      </Docs>
    </Member>
  </Members>
</Type>
