Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
dgg committed Jan 27, 2024
1 parent cb7af53 commit d9dd583
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/NMoneys.Serialization/NMoneys.Serialization.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@
<PropertyGroup>
<Description>Custom serialization/deserialization code samples of monetary quantities with several popular serialization libraries.</Description>
<Product>NMoneys.Serialization</Product>
<Copyright>Copyright © Daniel Gonzalez Garcia 2011</Copyright>
<Copyright>Copyright © Daniel Gonzalez Garcia 2024</Copyright>
</PropertyGroup>

<PropertyGroup>
<RepositoryUrl>https://github.com/dgg/nmoneys.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>.net;dotnet;C#;currency;money;iso;monetary;quantity;iso4217;serialization;Json.NET;BSON;Xml;System.Text.Json;Entity Framework</PackageTags>
</PropertyGroup>

Expand Down
4 changes: 2 additions & 2 deletions src/NMoneys/Money.Parsing.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace NMoneys;
public partial struct Money
{
/// <summary>
/// Converts the string representation of a monetary quantity (<see cref="AsQuantity"/>) to its <see cref="Money"/> equivalent.
/// Converts the string representation of a monetary quantity (<see cref="Money.AsQuantity()"/>) to its <see cref="Money"/> equivalent.
/// </summary>
/// <exception cref="ArgumentException">The currency value does not contain <see cref="CurrencyIsoCode"/> enumeration information.</exception>
/// <exception cref="FormatException">The amount value is not in the correct <see cref="Decimal"/> format.</exception>
Expand All @@ -26,7 +26,7 @@ public static Money Parse(string quantity)
}

/// <summary>
/// Tries to converts the string representation of a monetary quantity (<see cref="Money.AsQuantity"/>) to its <see cref="Money"/> equivalent.
/// Tries to converts the string representation of a monetary quantity (<see cref="Money.AsQuantity()"/>) to its <see cref="Money"/> equivalent.
/// </summary>
/// <param name="quantity"></param>
/// <param name="money">When this method returns, contains the monetary quantity <see cref="Money"/> equivalent to its representation contained in <paramref name="quantity"/>,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// ReSharper disable PropertyCanBeMadeInitOnly.Global
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
namespace NMoneys.Serialization.Tests.Support;

public class Dto
{

public string S { get; set; }
public MonetaryQuantity M { get; set; }
}
Expand Down

0 comments on commit d9dd583

Please sign in to comment.