diff --git a/Directory.Packages.props b/Directory.Packages.props index 3ba6f2454..429962f4f 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -7,7 +7,7 @@ - 7.0.18 + 7.1.1 @@ -32,7 +32,7 @@ - + diff --git a/src/Microsoft.Sbom.Common/JsonAsynchronousNodeKit/LargeJsonParser.cs b/src/Microsoft.Sbom.Common/JsonAsynchronousNodeKit/LargeJsonParser.cs index f90df564a..10e9053ee 100644 --- a/src/Microsoft.Sbom.Common/JsonAsynchronousNodeKit/LargeJsonParser.cs +++ b/src/Microsoft.Sbom.Common/JsonAsynchronousNodeKit/LargeJsonParser.cs @@ -149,7 +149,7 @@ static int GetStartPosition(Stream stream) private ParserStateResult HandleExplicitProperty(ref Utf8JsonReader reader, string propertyName) { - var handler = this.handlers![propertyName]; + var handler = this.handlers[propertyName]; object? result; diff --git a/test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSbomPackageAdapterTests.cs b/test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSbomPackageAdapterTests.cs index 326eb26f0..8cfb8f128 100644 --- a/test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSbomPackageAdapterTests.cs +++ b/test/Microsoft.Sbom.Adapters.Tests/ComponentDetectionToSbomPackageAdapterTests.cs @@ -565,7 +565,7 @@ public void MixedKnownAndUnknownComponents_ParsesValidComponentsOnly() Assert.IsTrue(packages.Any(p => p.PackageName == "Newtonsoft.Json")); } - private void AssertPackageUrlIsCorrect(PackageUrl.PackageUrl expectedPackageUrl, string actualPackageUrl) + private void AssertPackageUrlIsCorrect(PackageUrl.PackageURL expectedPackageUrl, string actualPackageUrl) { if (expectedPackageUrl is null) {