Refactor `GetHashCode()` of the `NextcloudClient/Types/ResourceInfo.cs`
SunboX opened this issue · 0 comments
SunboX commented
The hash code is calculated using dynamic properties. So it will change, for example, if you favourite the object. This is bad practize. See Guideline: the integer returned by GetHashCode should never change
here:
https://blogs.msdn.microsoft.com/ericlippert/2011/02/28/guidelines-and-rules-for-gethashcode/