From beb2eaef0cf43ca00a2caced7048a452d0a806c1 Mon Sep 17 00:00:00 2001 From: Lucas Trzesniewski Date: Thu, 25 Jul 2024 18:55:59 +0200 Subject: [PATCH] Update packages --- src/Directory.Build.props | 2 +- src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj | 7 +++---- src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs | 7 +++---- src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj | 4 ++-- .../ZeroLog.Tests.NetStandard.csproj | 6 +++--- src/ZeroLog.Tests/ZeroLog.Tests.csproj | 6 +++--- 6 files changed, 15 insertions(+), 17 deletions(-) diff --git a/src/Directory.Build.props b/src/Directory.Build.props index bd9d69a..e6ffa17 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -34,7 +34,7 @@ - + diff --git a/src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj b/src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj index 823a4d2..337d511 100644 --- a/src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj +++ b/src/ZeroLog.Analyzers.Tests/ZeroLog.Analyzers.Tests.csproj @@ -11,13 +11,12 @@ - - - + + - + diff --git a/src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs b/src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs index 021f997..3f674a0 100644 --- a/src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs +++ b/src/ZeroLog.Analyzers.Tests/ZeroLogAnalyzerTest.cs @@ -6,7 +6,6 @@ using Microsoft.CodeAnalysis.CSharp.Testing; using Microsoft.CodeAnalysis.Diagnostics; using Microsoft.CodeAnalysis.Testing; -using Microsoft.CodeAnalysis.Testing.Verifiers; namespace ZeroLog.Analyzers.Tests; @@ -18,14 +17,14 @@ internal static class ZeroLogAnalyzerTest Path.Combine("ref", "net8.0") ); - public static void ConfigureTest(AnalyzerTest test) + public static void ConfigureTest(AnalyzerTest test) { test.ReferenceAssemblies = _netReferenceAssemblies; test.TestState.AdditionalReferences.Add(typeof(LogManager).Assembly); } } -internal abstract class ZeroLogAnalyzerTest : CSharpAnalyzerTest +internal abstract class ZeroLogAnalyzerTest : CSharpAnalyzerTest where TAnalyzer : DiagnosticAnalyzer, new() { [StringSyntax("csharp")] @@ -45,7 +44,7 @@ protected override ParseOptions CreateParseOptions() => ((CSharpParseOptions)base.CreateParseOptions()).WithLanguageVersion(LanguageVersion); } -internal abstract class ZeroLogCodeFixTest : CSharpCodeFixTest +internal abstract class ZeroLogCodeFixTest : CSharpCodeFixTest where TAnalyzer : DiagnosticAnalyzer, new() where TCodeFix : CodeFixProvider, new() { diff --git a/src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj b/src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj index 35b9a74..6416633 100644 --- a/src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj +++ b/src/ZeroLog.Benchmarks/ZeroLog.Benchmarks.csproj @@ -21,9 +21,9 @@ - + - + diff --git a/src/ZeroLog.Tests.NetStandard/ZeroLog.Tests.NetStandard.csproj b/src/ZeroLog.Tests.NetStandard/ZeroLog.Tests.NetStandard.csproj index eb5b670..073fb80 100644 --- a/src/ZeroLog.Tests.NetStandard/ZeroLog.Tests.NetStandard.csproj +++ b/src/ZeroLog.Tests.NetStandard/ZeroLog.Tests.NetStandard.csproj @@ -10,9 +10,9 @@ - - - + + + diff --git a/src/ZeroLog.Tests/ZeroLog.Tests.csproj b/src/ZeroLog.Tests/ZeroLog.Tests.csproj index ed38be4..8fed03b 100644 --- a/src/ZeroLog.Tests/ZeroLog.Tests.csproj +++ b/src/ZeroLog.Tests/ZeroLog.Tests.csproj @@ -11,10 +11,10 @@ - + - - + +