Andreas Gullberg Larsen

Results 28 issues of Andreas Gullberg Larsen

Fixes #1017 - Reverted removing `IEquatable`. - Changed the implementation to strict equality on both `Value` and `Unit`. - Improved tests. - Improved xmldocs for equality members. - `GetHashCode()` left...

Fixes #180 Work in progress, please use this PR to discuss the changes and report any problems. ## Breaking changes 💥 ~~Rename BaseUnit to ConversionBaseUnit~~ #795 Default number format should...

Blocks #1181 `QuantityType` enum is already deprecated and will be removed in #982 in order to better support third-party quantities and units. The same could be done for the 100+...

enhancement
pinned

I just stumbled across this awesome article: https://www.freecodecamp.org/news/put-your-dev-env-in-github/ I had heard about remote containers and VSCode's integration with Docker and WSL, but this is the first time I realized how...

enhancement
help wanted
difficulty-medium
pinned

Experimenting with https://devblogs.microsoft.com/dotnet/preview-features-in-net-6-generic-math/ Example: ```cs public interface IQuantity : IAdditionOperators, IParseable, IComparisonOperators, IAdditiveIdentity where TQuantity : IQuantity { static abstract TQuantity Zero { get; } } ``` Allows us to...

pinned

Starting early to prepare v5. This issue will serve as a place do dump ideas on what should go into this release. ### Temperature arithmetic In #518 we discussed changing...

pinned

C#8 is due in the fall of 2019 and one interesting feature we can take advantage of is nullable reference types, instead of JetBrains' `[NotNull]` and `[CanBeNull]` attributes that don't...

enhancement
help wanted
pinned

Now that code coverage is run for all builds we have a baseline. It's not awful, but it sure can be improved. [At the time of this writing](https://codecov.io/gh/angularsen/UnitsNet/tree/9c12fb1382e8b4b220fe7a9bc625883ce29fc145): - UnitsNet...

help wanted
difficulty-medium
maintenance

As per https://github.com/angularsen/UnitsNet/issues/328#issuecomment-346925537 Having a set of tests to validate that the correct abbreviation notations and symbols are used would be helpful, as we have seen from before that discrepancies...

good first issue