diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props index 29b20677..9264e7eb 100644 --- a/src/Directory.Packages.props +++ b/src/Directory.Packages.props @@ -12,16 +12,16 @@ - - - + + + - + diff --git a/src/Microsoft.Unity.Analyzers.Tests/Infrastructure/DiagnosticVerifier.cs b/src/Microsoft.Unity.Analyzers.Tests/Infrastructure/DiagnosticVerifier.cs index ba792dee..55c85b7d 100644 --- a/src/Microsoft.Unity.Analyzers.Tests/Infrastructure/DiagnosticVerifier.cs +++ b/src/Microsoft.Unity.Analyzers.Tests/Infrastructure/DiagnosticVerifier.cs @@ -290,7 +290,7 @@ private static ReportDiagnostic GetReportDiagnostic(DiagnosticDescriptor descrip DiagnosticSeverity.Error => ReportDiagnostic.Error, DiagnosticSeverity.Warning => ReportDiagnostic.Warn, DiagnosticSeverity.Info or DiagnosticSeverity.Hidden => ReportDiagnostic.Info, - _ => throw new ArgumentOutOfRangeException() + _ => throw new ArgumentOutOfRangeException(nameof(descriptor)) }; } diff --git a/src/Microsoft.Unity.Analyzers.Tests/Microsoft.Unity.Analyzers.Tests.csproj b/src/Microsoft.Unity.Analyzers.Tests/Microsoft.Unity.Analyzers.Tests.csproj index 8692f362..774f1060 100644 --- a/src/Microsoft.Unity.Analyzers.Tests/Microsoft.Unity.Analyzers.Tests.csproj +++ b/src/Microsoft.Unity.Analyzers.Tests/Microsoft.Unity.Analyzers.Tests.csproj @@ -9,7 +9,7 @@ - +