dotnet-api-docs
dotnet-api-docs copied to clipboard
Documentation is inconsistent regarding the implementation.
The IsEmpty implementation tests the Width and Height properties for 0 or negative values. The documentation only states about equality to 0. The XML doc is inconsistent as well.
See public readonly bool IsEmpty => (Width <= 0) || (Height <= 0);