Skip to content

Commit 9f19333

Browse files
committed
disable preview analyzers
reverts 6c3c06d
1 parent fdd1dac commit 9f19333

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

Directory.Build.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
-->
2424
<PropertyGroup>
2525
<EnableNETAnalyzers>true</EnableNETAnalyzers>
26-
<AnalysisLevel>preview-All</AnalysisLevel>
2726
<EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild>
2827
</PropertyGroup>
2928

test/Renci.SshNet.IntegrationTests/Logging/TestConsoleLoggerProvider.cs

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

55
namespace Renci.SshNet.IntegrationTests.Logging
66
{
7-
#pragma warning disable CA1812 // Avoid uninstantiated internal classes
87
internal class TestConsoleLoggerProvider : ILoggerProvider
9-
#pragma warning restore CA1812 // Avoid uninstantiated internal classes
108
{
119
public ILogger CreateLogger(string categoryName)
1210
{

test/Renci.SshNet.Tests/Common/TestMethodForPlatformAttribute.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ namespace Renci.SshNet.Tests.Common
1010
[AttributeUsage(AttributeTargets.Method)]
1111
public sealed class TestMethodForPlatformAttribute : TestMethodAttribute
1212
{
13-
#pragma warning disable CA1019 // CA1019: Define accessors for attribute arguments
1413
public TestMethodForPlatformAttribute(string platform, [CallerFilePath] string callerFilePath = "", [CallerLineNumber] int callerLineNumber = -1) : base(callerFilePath, callerLineNumber)
15-
#pragma warning restore CA1019 // CA1019: Define accessors for attribute arguments
1614
{
1715
Platform = platform;
1816
}

0 commit comments

Comments
 (0)