Export (0) Print
Expand All

DA0011: Expensive CompareTo

Rule Id

DA0011

Category

.NET Framework Usage

Profiling methods

Sampling

.NET Memory

Message

CompareTo functions should be cheap and not allocate any memory. Reduce complexity of CompareTo function if possible.

Rule type

Warning

The CompareTo method of the type is expensive or allocates memory.

CompareTo methods should be efficient and should not allocate memory.

Reduce the complexity of the CompareTo method.

Community Additions

ADD
Show:
© 2014 Microsoft