Skip to content

Commit

Permalink
Update Roslyn to 4.12.0-1.24366.3
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Jul 19, 2024
1 parent 4ed2ca7 commit 146d416
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<MicrosoftTestPackageVersion>17.8.0</MicrosoftTestPackageVersion>
<MSBuildPackageVersion>17.3.2</MSBuildPackageVersion>
<NuGetPackageVersion>6.11.0-rc.110</NuGetPackageVersion>
<RoslynPackageVersion>4.10.0-2.24112.8</RoslynPackageVersion>
<RoslynPackageVersion>4.12.0-1.24366.3</RoslynPackageVersion>
<XunitPackageVersion>2.6.1</XunitPackageVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion src/OmniSharp.Abstractions/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ internal static class Configuration
{
public static bool ZeroBasedIndices = false;

public const string RoslynVersion = "4.10.0.0";
public const string RoslynVersion = "4.12.0.0";
public const string RoslynPublicKeyToken = "31bf3856ad364e35";

public readonly static string RoslynFeatures = GetRoslynAssemblyFullName("Microsoft.CodeAnalysis.Features");
Expand Down
4 changes: 3 additions & 1 deletion tests/OmniSharp.Cake.Tests/BlockStructureFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ void M()[|
.ToArray();

var expected = testFile.Content.GetSpans()
.Select(span => testFile.Content.GetRangeFromSpan(span).ToRange()).ToArray();
.Select(span => testFile.Content.GetRangeFromSpan(span).ToRange())
.Reverse()
.ToArray();

Assert.Equal(expected, lineSpans);
}
Expand Down
4 changes: 3 additions & 1 deletion tests/OmniSharp.Roslyn.CSharp.Tests/BlockStructureFacts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ void M()[|
.ToArray();

var expected = testFile.Content.GetSpans()
.Select(span => testFile.Content.GetRangeFromSpan(span).ToRange()).ToArray();
.Select(span => testFile.Content.GetRangeFromSpan(span).ToRange())
.Reverse()
.ToArray();

Assert.Equal(expected, lineSpans);
}
Expand Down

0 comments on commit 146d416

Please sign in to comment.