Skip to content

Commit 27c99bd

Browse files
committed
CA1812 dotnet format
1 parent fa88333 commit 27c99bd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

test/IntegrationTests/Helpers/MockMetricsCollector.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ private void WriteOutput(string msg)
235235
_output.WriteLine($"[{name}]: {msg}");
236236
}
237237

238+
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
238239
internal sealed class Collected
240+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.
239241
{
240242
public Collected(string instrumentationScopeName, Metric metric)
241243
{

test/IntegrationTests/Helpers/MockSpansCollector.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,9 @@ private void WriteOutput(string msg)
224224
_output.WriteLine($"[{name}]: {msg}");
225225
}
226226

227+
#pragma warning disable CA1812 // Mark members as static. There is some issue in dotnet format.
227228
internal sealed class Collected
229+
#pragma warning restore CA1812 // Mark members as static. There is some issue in dotnet format.
228230
{
229231
public Collected(string instrumentationScopeName, Span span)
230232
{

0 commit comments

Comments
 (0)