Skip to content

Commit

Permalink
Add missing setter to PropertySerializationName property (#4617)
Browse files Browse the repository at this point in the history
Adds a missing setter to the property which was overlooked as part of
#4591.
  • Loading branch information
jorgerangel-msft authored Oct 7, 2024
1 parent 36f6ace commit 0defe8f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class CodeGenSerializationAttribute : Attribute
/// <summary>
/// Gets or sets the serialization name of the property.
/// </summary>
public string? PropertySerializationName { get; }
public string? PropertySerializationName { get; set; }
/// <summary>
/// Gets or sets the method name to use when serializing the property value (property name excluded)
/// The signature of the serialization hook method must be or compatible with when invoking:
Expand Down

0 comments on commit 0defe8f

Please sign in to comment.