Skip to content

Commit 442559d

Browse files
Recharacterize
1 parent 74e0fbd commit 442559d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Tests/CSharp/ExpressionTests/ByRefTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ private int ExplicitFunc([Optional, DefaultParameterValue("""")] ref string str)
474474
return 5;
475475
}
476476
477-
int IFoo.ExplicitFunc(ref string str) => ExplicitFunc(ref str);
477+
int IFoo.ExplicitFunc([Optional, DefaultParameterValue("""")] ref string str) => ExplicitFunc(ref str);
478478
}");
479479
}
480480

Tests/CSharp/MemberTests/PropertyMemberTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -525,8 +525,8 @@ internal void set_Prop2(int x = 1, int y = 2, int value = default)
525525
{
526526
}
527527
528-
int IFoo.get_Prop(int x, int y) => get_Prop2(x, y);
529-
void IFoo.set_Prop(int x, int y, int value) => set_Prop2(x, y, value);
528+
int IFoo.get_Prop(int x = 1, int y = 2) => get_Prop2(x, y);
529+
void IFoo.set_Prop(int x = 1, int y = 2, int value = default) => set_Prop2(x, y, value);
530530
531531
public void TestGet()
532532
{
@@ -615,8 +615,8 @@ internal void set_Prop2(int x = 1, int y = 2, int z = 3, int value = default)
615615
{
616616
}
617617
618-
int IFoo.get_Prop(int x, int y, int z) => get_Prop2(x, y, z);
619-
void IFoo.set_Prop(int x, int y, int z, int value) => set_Prop2(x, y, z, value);
618+
int IFoo.get_Prop(int x = 1, int y = 2, int z = 3) => get_Prop2(x, y, z);
619+
void IFoo.set_Prop(int x = 1, int y = 2, int z = 3, int value = default) => set_Prop2(x, y, z, value);
620620
621621
public void TestGet()
622622
{

0 commit comments

Comments
 (0)