From 210978ec2d0ec0077183f0b530dc52878a0e290c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 11:13:51 +0000 Subject: [PATCH] Format code with CSharpier Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com> --- src/SharpCompress/packages.lock.json | 6 +++--- tests/SharpCompress.Test/ExceptionHierarchyTests.cs | 12 +++++------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/SharpCompress/packages.lock.json b/src/SharpCompress/packages.lock.json index 904860ce..b85a38f7 100644 --- a/src/SharpCompress/packages.lock.json +++ b/src/SharpCompress/packages.lock.json @@ -335,9 +335,9 @@ "net8.0": { "Microsoft.NET.ILLink.Tasks": { "type": "Direct", - "requested": "[8.0.0, )", - "resolved": "8.0.0", - "contentHash": "B3etT5XQ2nlWkZGO2m/ytDYrOmSsQG1XNBaM6ZYlX5Ch/tDrMFadr0/mK6gjZwaQc55g+5+WZMw4Cz3m8VEF7g==" + "requested": "[8.0.20, )", + "resolved": "8.0.20", + "contentHash": "Rhcto2AjGvTO62+/VTmBpumBOmqIGp7nYEbTbmEXkCq4yPGxV8whju3/HsIA/bKyo2+DggaYk5+/8sxb1AbPTw==" }, "Microsoft.SourceLink.GitHub": { "type": "Direct", diff --git a/tests/SharpCompress.Test/ExceptionHierarchyTests.cs b/tests/SharpCompress.Test/ExceptionHierarchyTests.cs index 64af90ed..b543d179 100644 --- a/tests/SharpCompress.Test/ExceptionHierarchyTests.cs +++ b/tests/SharpCompress.Test/ExceptionHierarchyTests.cs @@ -19,7 +19,9 @@ public class ExceptionHierarchyTests Assert.True(typeof(SharpCompressException).IsAssignableFrom(typeof(ExtractionException))); // Verify that InvalidFormatException inherits from SharpCompressException (through ExtractionException) - Assert.True(typeof(SharpCompressException).IsAssignableFrom(typeof(InvalidFormatException))); + Assert.True( + typeof(SharpCompressException).IsAssignableFrom(typeof(InvalidFormatException)) + ); // Verify that CryptographicException inherits from SharpCompressException Assert.True( @@ -45,9 +47,7 @@ public class ExceptionHierarchyTests // Verify that MultiVolumeExtractionException inherits from SharpCompressException (through ExtractionException) Assert.True( - typeof(SharpCompressException).IsAssignableFrom( - typeof(MultiVolumeExtractionException) - ) + typeof(SharpCompressException).IsAssignableFrom(typeof(MultiVolumeExtractionException)) ); // Verify that ZlibException inherits from SharpCompressException @@ -55,9 +55,7 @@ public class ExceptionHierarchyTests // Verify that XZIndexMarkerReachedException inherits from SharpCompressException Assert.True( - typeof(SharpCompressException).IsAssignableFrom( - typeof(XZIndexMarkerReachedException) - ) + typeof(SharpCompressException).IsAssignableFrom(typeof(XZIndexMarkerReachedException)) ); }