コード例 #1
0
 protected bool Equals(ContextStatistics other)
 {
     return(NumRepositories == other.NumRepositories && NumUsers == other.NumUsers &&
            NumSolutions == other.NumSolutions && EstimatedLinesOfCode == other.EstimatedLinesOfCode &&
            NumTypeDeclTopLevel == other.NumTypeDeclTopLevel && NumTypeDeclNested == other.NumTypeDeclNested &&
            NumPartial == other.NumPartial && NumClasses == other.NumClasses &&
            NumInterfaces == other.NumInterfaces &&
            NumDelegates == other.NumDelegates && NumStructs == other.NumStructs && NumEnums == other.NumEnums &&
            NumUnusualType == other.NumUnusualType &&
            NumTypeDeclExtendsOrImplements == other.NumTypeDeclExtendsOrImplements &&
            NumMethodDeclsTotal == other.NumMethodDeclsTotal &&
            NumMethodDeclsOverrideOrImplement == other.NumMethodDeclsOverrideOrImplement &&
            NumMethodDeclsOverrideOrImplementAsm == other.NumMethodDeclsOverrideOrImplementAsm &&
            NumValidInvocations == other.NumValidInvocations &&
            NumUnknownInvocations == other.NumUnknownInvocations &&
            UniqueAssemblies.Equals(other.UniqueAssemblies) && NumAsmCalls == other.NumAsmCalls &&
            NumAsmDelegateCalls == other.NumAsmDelegateCalls && UniqueTypeDecl.Equals(other.UniqueTypeDecl) &&
            UniqueAsmMethods.Equals(other.UniqueAsmMethods) &&
            UniqueMethodDeclsOverrideOrImplementAsm.Equals(other.UniqueMethodDeclsOverrideOrImplementAsm) &&
            NumAsmFieldRead == other.NumAsmFieldRead && UniqueAsmFields.Equals(other.UniqueAsmFields) &&
            NumAsmPropertyRead == other.NumAsmPropertyRead &&
            UniqueAsmProperties.Equals(other.UniqueAsmProperties));
 }