Skip to content

Commit 589869d

Browse files
committed
Fakes without expression bodied properties
1 parent 8eeff04 commit 589869d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/CommandLine.Tests/Fakes/ResourceFakes.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ namespace CommandLine.Tests.Fakes
88
{
99
public static class StaticResource
1010
{
11-
public static string HelpText { get => "Localized HelpText"; }
11+
public static string HelpText { get { return "Localized HelpText"; } }
1212
}
1313

1414
public class NonStaticResource
1515
{
16-
public static string HelpText { get => "Localized HelpText"; }
17-
public static string WriteOnlyText { set => value?.ToString(); }
18-
private static string PrivateHelpText { get => "Localized HelpText"; }
16+
public static string HelpText { get { return "Localized HelpText"; } }
17+
public static string WriteOnlyText { set { value?.ToString(); } }
18+
private static string PrivateHelpText { get { return "Localized HelpText"; } }
1919
}
2020

2121
public class NonStaticResource_WithNonStaticProperty
2222
{
23-
public string HelpText { get => "Localized HelpText"; }
23+
public string HelpText { get { return "Localized HelpText"; } }
2424
}
2525

2626
internal class InternalResource
2727
{
28-
public static string HelpText { get => "Localized HelpText"; }
28+
public static string HelpText { get { return "Localized HelpText"; } }
2929
}
3030

3131
}

0 commit comments

Comments
 (0)