Skip to content

Commit 7c4f45a

Browse files
committed
Fix CA1515
1 parent e12f986 commit 7c4f45a

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

coster/src/AzureVmCoster/Models/Csv/InputVmMap.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
namespace AzureVmCoster.Models.Csv;
55

6-
public sealed class InputVmMap : ClassMap<InputVm>
6+
internal sealed class InputVmMap : ClassMap<InputVm>
77
{
88
public InputVmMap()
99
{

coster/src/AzureVmCoster/Models/InputVm.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace AzureVmCoster.Models;
22

3-
public class InputVm
3+
internal class InputVm
44
{
55
public string Name { get; set; } = default!;
66
public string Region { get; set; } = default!;

coster/src/AzureVmCoster/Models/VmPrice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
namespace AzureVmCoster.Models;
22

3-
public class VmPrice
3+
internal class VmPrice
44
{
55
public string Region { get; set; } = default!;
66
public string OperatingSystem { get; set; } = default!;

coster/src/AzureVmCoster/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
namespace AzureVmCoster;
77

88
#pragma warning disable CA1052 // Used as a parameter type
9-
public class Program
9+
internal class Program
1010
#pragma warning restore CA1052
1111
{
1212
public static async Task<int> Main(string[] args)

coster/tests/AzureVmCosterTests/AzureVmCosterTests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
<IsPackable>false</IsPackable>
9-
<NoWarn>CA1707</NoWarn>
9+
<NoWarn>CA1707;CA1515</NoWarn>
1010
</PropertyGroup>
1111

1212
<ItemGroup>

0 commit comments

Comments
 (0)