Skip to content

Commit b1c938f

Browse files
committed
suppress warnings
1 parent 6ce3f06 commit b1c938f

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

J4JCommandLine.Tests/AutoBindTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@ public void working(
4040

4141
[Theory]
4242
[InlineData("-i 32 -t junk")]
43+
#pragma warning disable xUnit1026 // Theory methods should use all of their parameters
4344
public void broken( string cmdLine )
45+
#pragma warning restore xUnit1026 // Theory methods should use all of their parameters
4446
{
4547
var builder = ServiceProvider.Instance.GetRequiredService<BindingTargetBuilder>();
4648

J4JCommandLine.Tests/TextConverterTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using FluentAssertions;
55
using J4JSoftware.CommandLine;
66
using Xunit;
7+
#pragma warning disable 8618
78

89
namespace J4JCommandLine.Tests
910
{

J4JCommandLine/console/SimpleConsole.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Text;
5+
#pragma warning disable 8618
56

67
namespace J4JSoftware.CommandLine
78
{

examples/InstancePropertyExample/Program.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
using Autofac;
33
using Autofac.Extensions.DependencyInjection;
44
using Microsoft.Extensions.DependencyInjection;
5+
#pragma warning disable 8618
56

67
namespace J4JSoftware.CommandLine.Examples
78
{

0 commit comments

Comments
 (0)