2. AvoidCodeDuplicatedInSameClassRule
Problem: There are same code structure in various methods in the same class. Your code will be better if you can unify them.
Details:
Gendarme.Rules.Interoperability.UseManagedAlternativesToPInvokeRule/PInvokeCall::op_Equality: Exists code duplicated with PInvokeCall.op_Inequality
Solution: You should apply the Extract Method refactoring and invoke the method from the places.
More info available at: http://www.mono-project.com/Gendarme.Rules.Smells#AvoidCodeDuplicatedInSameClassRule
17. AvoidCodeDuplicatedInSameClassRule
Problem: There are same code structure in various methods in the same class. Your code will be better if you can unify them.
Details:
Gendarme.Framework.Helpers.StackEntryAnalysis/StoreSlot::op_Equality: Exists code duplicated with StoreSlot.op_Inequality
Solution: You should apply the Extract Method refactoring and invoke the method from the places.
More info available at: http://www.mono-project.com/Gendarme.Rules.Smells#AvoidCodeDuplicatedInSameClassRule