Skip to content

Commit 17016c7

Browse files
Fix #3611: Update test cases to reflect original test
1 parent c263d7b commit 17016c7

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3452.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#pragma warning disable CS9124
2-
31
using System;
42

53
namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty
@@ -29,7 +27,7 @@ private class C3(StringComparison comparison)
2927

3028
internal StringComparison Test()
3129
{
32-
return comparison;
30+
return _comparison;
3331
}
3432
}
3533

ICSharpCode.Decompiler.Tests/TestCases/Pretty/Issue3610.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#pragma warning disable CS9124
2-
31
using System;
42
using System.Collections.Generic;
53

@@ -47,7 +45,7 @@ private abstract class PCFieldInitTest(StringComparison value)
4745

4846
public bool Func()
4947
{
50-
return value == StringComparison.Ordinal;
48+
return _value == StringComparison.Ordinal;
5149
}
5250
}
5351

0 commit comments

Comments
 (0)