﻿<?xml version="1.0" encoding="utf-8"?><Type Name="AvoidTypeInterfaceInconsistencyRule" FullName="Gendarme.Rules.Naming.AvoidTypeInterfaceInconsistencyRule"><TypeSignature Language="C#" Value="public class AvoidTypeInterfaceInconsistencyRule : Gendarme.Framework.Rule, Gendarme.Framework.ITypeRule" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit AvoidTypeInterfaceInconsistencyRule extends Gendarme.Framework.Rule implements class Gendarme.Framework.IRule, class Gendarme.Framework.ITypeRule" /><AssemblyInfo><AssemblyName>Gendarme.Rules.Naming</AssemblyName><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>Gendarme.Framework.Rule</BaseTypeName></Base><Interfaces><Interface><InterfaceName>Gendarme.Framework.ITypeRule</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>Gendarme.Framework.Problem("This interface is not implemented by the type of the same name (minus the 'I' prefix).")</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Solution("Rename either the interface or the type to something else or implement the interface for the type.")</AttributeName></Attribute></Attributes><Docs><summary>
            This rule will fire if an assembly has a namespace which contains an interface IFoo
            and a type Foo, but the type does not implement the interface. If an interface and
            a type name differ only by the <c>I</c> prefix (of the interface) then we can
            logically expect the type to implement this interface.
            </summary><remarks>This rule is available since Gendarme 2.4</remarks><example>
            Bad example:
            <code>
            public interface IMember {
            	string Name {
            		get;
            	}
            }
            public class Member {
            	public string Name {
            		get {
            			return String.Empty;
            		}
            	}
            }
            </code></example><example>
            Good example:
            <code>
            public interface IMember {
            	string Name {
            		get;
            	}
            }
            public class Member : IMember {
            	public string Name {
            		get {
            			return String.Empty;
            		}
            	}
            }
            </code></example></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public AvoidTypeInterfaceInconsistencyRule ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><summary>To be added.</summary><remarks>To be added.</remarks></Docs></Member><Member MemberName="CheckType"><MemberSignature Language="C#" Value="public Gendarme.Framework.RuleResult CheckType (Mono.Cecil.TypeDefinition type);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance valuetype Gendarme.Framework.RuleResult CheckType(class Mono.Cecil.TypeDefinition type) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>3.10.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>Gendarme.Framework.RuleResult</ReturnType></ReturnValue><Parameters><Parameter Name="type" Type="Mono.Cecil.TypeDefinition" /></Parameters><Docs><param name="type">To be added.</param><summary>To be added.</summary><returns>To be added.</returns><remarks>To be added.</remarks></Docs></Member></Members></Type>