Location: cpp/Platform.Memory/ResizableDirectMemoryBase.h:78
Current code:
// TODO: Use modernize Ranges version
Ensure::Always::ArgumentInRange(value, Range(0, _reservedCapacity));
Issue:
The current code uses an older Ranges API and should be updated to use the modernized version.
Suggestion:
Update the Range usage to follow the modern Ranges API conventions and patterns.