Skip to content

Commit 2a3d8c3

Browse files
committed
Fix build warnings
1 parent d1f05d2 commit 2a3d8c3

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

src/Tests/CollectionRuleActions.UnitTests/ActionListExecutorTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

4-
using Microsoft.AspNetCore.Http.Validation;
54
using Microsoft.Diagnostics.Monitoring.TestCommon;
65
using Microsoft.Diagnostics.Monitoring.TestCommon.Options;
76
using Microsoft.Diagnostics.Tools.Monitor;

src/Tests/CollectionRuleActions.UnitTests/TestValidatableType.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Microsoft.AspNetCore.Http.Validation;
5-
using Microsoft.Diagnostics.Monitoring.WebApi;
65
using Microsoft.Diagnostics.Tools.Monitor.CollectionRules.Options;
76
using Microsoft.Diagnostics.Tools.Monitor.CollectionRules.Options.Actions;
87

@@ -13,7 +12,7 @@ namespace Microsoft.Diagnostics.Tools.Monitor
1312
// in ProjectReferences. This is a workaround to force the generator running in this project to
1413
// generate IValidatableInfo for the referenced types. The containing class is not used otherwise.
1514
[ValidatableType]
16-
internal class TestValidatableTypes
15+
internal sealed class TestValidatableTypes
1716
{
1817
public required CollectionRuleOptions CollectionRuleOptions { get; init; }
1918

src/Tests/Microsoft.Diagnostics.Monitoring.Tool.UnitTestsSample/Program.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Microsoft.AspNetCore.Http.Validation;
5-
using Microsoft.Diagnostics.Tools.Monitor;
65
using Microsoft.Diagnostics.Tools.Monitor.Extensibility;
76
using Microsoft.Diagnostics.Tools.Monitor.Egress.FileSystem;
87

0 commit comments

Comments
 (0)