Skip to content

Commit 84558d1

Browse files
committed
dotnet format CA1812
1 parent 5bd1835 commit 84558d1

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

test/IntegrationTests/Helpers/MockSpansCollector.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ namespace IntegrationTests.Helpers;
1818

1919
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
2020
internal sealed class MockSpansCollector : IDisposable
21+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.
2122
{
2223
private readonly ITestOutputHelper _output;
2324
private readonly TestHttpServer _listener;

test/IntegrationTests/Helpers/PathHandler.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ namespace IntegrationTests.Helpers;
88

99
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
1010
internal sealed class PathHandler
11+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.
1112
{
1213
public PathHandler(RequestDelegate @delegate, string path)
1314
{

test/IntegrationTests/VerboseTestFramework.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
namespace IntegrationTests.Helpers;
1111

12+
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
1213
public class VerboseTestFramework : XunitTestFramework
1314
{
1415
public VerboseTestFramework(IMessageSink messageSink)
@@ -117,3 +118,4 @@ protected override async Task<RunSummary> RunTestCaseAsync(IXunitTestCase testCa
117118
}
118119
}
119120
}
121+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.

test/OpenTelemetry.AutoInstrumentation.Bootstrapping.Tests/FactRequiringEnvVarAttribute.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55

66
namespace OpenTelemetry.AutoInstrumentation.Bootstrapping.Tests;
77

8+
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
89
internal sealed class FactRequiringEnvVarAttribute : FactAttribute
10+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.
911
{
1012
private const string EnvVar = "BOOSTRAPPING_TESTS";
1113

0 commit comments

Comments
 (0)