Skip to content

Commit a8c6d10

Browse files
Timur KelmanTimur Kelman
authored andcommitted
adjust tests: some old known bugs are fixed
1 parent a64e208 commit a8c6d10

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

Tests/CSharp/MemberTests/MemberTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ public void set_Prop(int i, string value)
669669
_Prop_bSet = false;
670670
}
671671
672-
}", incompatibleWithAutomatedCommentTesting: true);// Known bug: Additional declarations don't get comments correctly converted
672+
}");
673673
}
674674

675675
[Fact]

Tests/CSharp/MemberTests/PropertyMemberTests.cs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Return LastName & "" "" & FirstName
8484
Return FirstName & "" "" & LastName
8585
End If
8686
End Get
87-
' Bug: Comment moves inside generated method
87+
' This comment belongs to the set method
8888
Friend Set
8989
If isFirst Then FirstName = Value
9090
End Set
@@ -110,9 +110,8 @@ public string get_FullName(bool lastNameFirst, bool isFirst)
110110
{
111111
return FirstName + "" "" + LastName;
112112
}
113-
// Bug: Comment moves inside generated method
114113
}
115-
114+
// This comment belongs to the set method
116115
internal void set_FullName(bool lastNameFirst, bool isFirst, string value)
117116
{
118117
if (isFirst)
@@ -176,7 +175,7 @@ Public Property FullName(Optional ByVal isFirst As Boolean = False) As String
176175
Get
177176
Return FirstName & "" "" & LastName
178177
End Get
179-
'Bug: Comment moves inside generated get method
178+
'This comment belongs to the set method
180179
Friend Set
181180
If isFirst Then FirstName = Value
182181
End Set
@@ -197,9 +196,8 @@ internal partial class TestClass
197196
public string get_FullName(bool isFirst = false)
198197
{
199198
return FirstName + "" "" + LastName;
200-
// Bug: Comment moves inside generated get method
201199
}
202-
200+
// This comment belongs to the set method
203201
internal void set_FullName(bool isFirst = false, string value = default)
204202
{
205203
if (isFirst)

0 commit comments

Comments
 (0)