HLQ001 |
Performance |
Warning |
Assigment to interface causes boxing of enumerator |
HLQ002 |
Compiler |
Error |
Enumerable cannot be null . |
HLQ003 |
Performance |
Warning |
Public methods should return highest admissible level interface. |
HLQ004 |
Performance |
Warning |
The enumerator returns a reference to the item. |
HLQ005 |
Performance |
Warning |
Avoid use of Single() and SingleOrDefault() |
HLQ006 |
Performance |
Warning |
GetEnumerator() or GetAsyncEnumerator() should return a value type. |
HLQ007 |
Performance |
Warning |
Consider returning a non-disposable enumerator. |
HLQ008 |
Performance |
Info |
The enumerable is a value type. Consider making it readonly . |
HLQ009 |
Performance |
Info |
Consider removing an empty optional enumerator method. |
HLQ011 |
Compiler |
Error |
Mutable value-type enumerators cannot be stored in a readonly field. |
HLQ012 |
Performance |
Warning |
Consider using CollectionsMarshal.AsSpan() when iterating a List<T> . |
HLQ013 |
Performance |
Warning |
Consider using foreach when iterating an array or a Span<T> . |