Skip to content

Commit eb2f1e1

Browse files
committed
Typo
1 parent c4989f2 commit eb2f1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitsNet/QuantityTypeConverter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceT
151151
string attributeQuantityName = Quantity.From(1, attribute.UnitType).QuantityInfo.Name;
152152
if (converterQuantityName != attributeQuantityName)
153153
{
154-
throw new ArgumentException($"The {attribute.GetType()}'s Unittype [{attribute.UnitType}] is not compatible with the converter's quantity [{converterQuantityName}].");
154+
throw new ArgumentException($"The {attribute.GetType()}'s UnitType [{attribute.UnitType}] is not compatible with the converter's quantity [{converterQuantityName}].");
155155
}
156156
}
157157

0 commit comments

Comments
 (0)