This repository was archived by the owner on Nov 14, 2025. It is now read-only.
Commit b666afb
committed
Refactor
Simplified the `ConversionAdd` method by converting it from a block body to an expression body. Removed the explicit null check for the `other` parameter, potentially relying on other mechanisms to ensure `other` is not null. The method now directly returns the result of `Create(Quantity + other)`.ConversionAdd to expression-bodied member1 parent 968d7cb commit b666afb
1 file changed
Lines changed: 1 addition & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 66 | + | |
72 | 67 | | |
73 | 68 | | |
74 | 69 | | |
| |||
0 commit comments