From 6094725c14e8ee769dd1a07a2d5cf095643051dc Mon Sep 17 00:00:00 2001 From: filipw Date: Thu, 8 Sep 2022 12:48:22 +0200 Subject: [PATCH 1/2] updated IL Spy to 7.2.1.6856 --- build/Packages.props | 2 +- .../AbstractGoToDefinitionFacts.cs | 12 ++++++------ .../GotoTypeDefinitionFacts.cs | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build/Packages.props b/build/Packages.props index e72fc930ab..a023ce4b56 100644 --- a/build/Packages.props +++ b/build/Packages.props @@ -16,7 +16,7 @@ - + diff --git a/tests/OmniSharp.Roslyn.CSharp.Tests/AbstractGoToDefinitionFacts.cs b/tests/OmniSharp.Roslyn.CSharp.Tests/AbstractGoToDefinitionFacts.cs index 6c4dbdc4ab..81bf7322a0 100644 --- a/tests/OmniSharp.Roslyn.CSharp.Tests/AbstractGoToDefinitionFacts.cs +++ b/tests/OmniSharp.Roslyn.CSharp.Tests/AbstractGoToDefinitionFacts.cs @@ -1,4 +1,8 @@ -using Microsoft.CodeAnalysis; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; @@ -6,10 +10,6 @@ using OmniSharp.Models.Metadata; using OmniSharp.Models.v1.SourceGeneratedFile; using OmniSharp.Roslyn.CSharp.Services.Navigation; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Linq; -using System.Threading.Tasks; using TestUtility; using Xunit; using Xunit.Abstractions; @@ -469,7 +469,7 @@ public void Baz() { // second comment should indicate we have decompiled var comments = compilationUnit.DescendantTrivia().Where(t => t.IsKind(SyntaxKind.SingleLineCommentTrivia)).ToArray(); Assert.NotNull(comments); - Assert.Equal("// Decompiled with ICSharpCode.Decompiler 7.1.0.6543", comments[1].ToString()); + Assert.Equal("// Decompiled with ICSharpCode.Decompiler 7.2.1.6856", comments[1].ToString()); // contrary to regular metadata, we should have methods with full bodies // this condition would fail if decompilation wouldn't work diff --git a/tests/OmniSharp.Roslyn.CSharp.Tests/GotoTypeDefinitionFacts.cs b/tests/OmniSharp.Roslyn.CSharp.Tests/GotoTypeDefinitionFacts.cs index a1ebf30429..efe7451853 100644 --- a/tests/OmniSharp.Roslyn.CSharp.Tests/GotoTypeDefinitionFacts.cs +++ b/tests/OmniSharp.Roslyn.CSharp.Tests/GotoTypeDefinitionFacts.cs @@ -1,15 +1,15 @@ -using Microsoft.CodeAnalysis; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Linq; +using System.Threading.Tasks; +using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.CSharp; using Microsoft.CodeAnalysis.CSharp.Syntax; using Microsoft.CodeAnalysis.Diagnostics; +using OmniSharp.Models.GotoTypeDefinition; using OmniSharp.Models.Metadata; using OmniSharp.Models.v1.SourceGeneratedFile; -using OmniSharp.Models.GotoTypeDefinition; using OmniSharp.Roslyn.CSharp.Services.Navigation; -using System.Collections.Generic; -using System.Collections.Immutable; -using System.Linq; -using System.Threading.Tasks; using TestUtility; using Xunit; using Xunit.Abstractions; @@ -426,7 +426,7 @@ public void Baz() { // second comment should indicate we have decompiled var comments = compilationUnit.DescendantTrivia().Where(t => t.IsKind(SyntaxKind.SingleLineCommentTrivia)).ToArray(); Assert.NotNull(comments); - Assert.Equal("// Decompiled with ICSharpCode.Decompiler 7.1.0.6543", comments[1].ToString()); + Assert.Equal("// Decompiled with ICSharpCode.Decompiler 7.2.1.6856", comments[1].ToString()); // contrary to regular metadata, we should have methods with full bodies // this condition would fail if decompilation wouldn't work From 84025fd4d479f77a0a3923f0ad576a923e636add Mon Sep 17 00:00:00 2001 From: filipw Date: Thu, 8 Sep 2022 12:50:20 +0200 Subject: [PATCH 2/2] updated changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3377fa246..25fbb47d96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,10 @@ # Changelog All changes to the project will be documented in this file. -## [1.39.1] +## [1.39.2] - not yet released +* Updated ILSpy to 7.2.1.6856 (PR: [#2447](https://github.com/OmniSharp/omnisharp-roslyn/pull/2447)) + +## [1.39.1] - 2022-07-25 * Update Roslyn to 4.4.0 1.22369.1 (PR: [#2420](https://github.com/OmniSharp/omnisharp-roslyn/pull/2420)) * Simplify some code (PR: [#2370](https://github.com/OmniSharp/omnisharp-roslyn/pull/2370)) * Return meaningful error when pinned SDK version is not found. ([[omnisharp-vscode#5128](https://github.com/OmniSharp/omnisharp-vscode/issues/5128), PR: [#2403](https://github.com/OmniSharp/omnisharp-roslyn/pull/2403))