Skip to content

Commit 3da9fb6

Browse files
committed
style: StyleCop fixes
1 parent ac049dd commit 3da9fb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Fossology.Rest.Dotnet.Model/File.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class File
2626
/// Gets or sets the hash.
2727
/// </summary>
2828
[JsonProperty("hash")]
29-
public Hash Hash{ get; set; }
29+
public Hash Hash { get; set; }
3030

3131
/// <summary>
3232
/// Gets or sets the findings.
@@ -38,7 +38,9 @@ public class File
3838
/// Gets or sets the SHA256 hash.
3939
/// </summary>
4040
[JsonProperty("uploads")]
41+
#pragma warning disable CA2227 // Collection properties should be read only
4142
public List<int> Uploads { get; set; }
43+
#pragma warning restore CA2227 // Collection properties should be read only
4244

4345
/// <summary>
4446
/// Gets or sets the message.

0 commit comments

Comments
 (0)