Skip to content

Commit

Permalink
Update ConstructorTests.ParameterMatching.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
EgorBo authored and eiriktsarpalis committed May 4, 2022
1 parent 7107796 commit e6bf69d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1356,7 +1356,7 @@ public struct StructWithPropertyInit
{
public StructWithPropertyInit() {}
public long A { get; set; } = 42;
public long B { get; set; }
public long B { get; set; } = 0;
}

[Fact]
Expand All @@ -1371,7 +1371,7 @@ public void StructWithFieldInit_DeseralizeEmptyObject()
public struct StructWithFieldInit
{
public StructWithFieldInit() {}
public long A;
public long A = 0;
public long B = 42;
}

Expand Down

0 comments on commit e6bf69d

Please sign in to comment.