﻿<?xml version="1.0" encoding="utf-8"?><Type Name="ReviewInconsistentIdentityRule" FullName="Gendarme.Rules.Correctness.ReviewInconsistentIdentityRule"><TypeSignature Language="C#" Value="public sealed class ReviewInconsistentIdentityRule : Gendarme.Framework.Rule, Gendarme.Framework.ITypeRule" /><TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ReviewInconsistentIdentityRule extends Gendarme.Framework.Rule implements class Gendarme.Framework.IRule, class Gendarme.Framework.ITypeRule" /><AssemblyInfo><AssemblyName>Gendarme.Rules.Correctness</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("The type does not manage identity consistently in its Equals, relational operator, CompareTo, GetHashCode, and Clone methods.")</AttributeName></Attribute><Attribute><AttributeName>Gendarme.Framework.Solution("Equals, relational operator, CompareTo methods should use the same fields and getter properties. GetHashCode should use the same fields/properties or a strict subset of them. Clone should use the same fields/properties or a superset of them.")</AttributeName></Attribute></Attributes><Docs><summary>
            This rule checks to see if a type manages its identity in a
            consistent way. It checks:
            <list type="bullet"><item><description>Equals methods, relational operators and <c>CompareTo</c>
            must either use the same set of fields and properties or call a
            helper method.</description></item><item><description><c>GetHashCode</c> must use the same or a subset of
            the fields used by the equality methods or call a helper method.</description></item><item><description><c>Clone</c> must use the same or a superset of
            the fields used by the equality methods or call a helper method.</description></item></list></summary><remarks>This rule is available since Gendarme 2.4</remarks></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public ReviewInconsistentIdentityRule ();" /><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>