Skip to content

Commit

Permalink
Revert more
Browse files Browse the repository at this point in the history
  • Loading branch information
Cosifne committed Jan 3, 2024
1 parent f4cd26e commit 628f42c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>d099f075e45d2aa6007a22b71b45a08758559f80</Sha>
</Dependency>
<Dependency Name="System.Text.Json" Version="8.0.0">
<Dependency Name="System.Text.Json" Version="7.0.3">
<Uri>https://github.com/dotnet/runtime</Uri>
<Sha>0a2bda10e81d901396c3cff95533529e3a93ad47</Sha>
</Dependency>
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
<SystemTextEncodingCodePagesVersion>7.0.0</SystemTextEncodingCodePagesVersion>
<SystemTextEncodingExtensionsVersion>4.3.0</SystemTextEncodingExtensionsVersion>
<!-- Note: When updating SystemTextJsonVersion ensure that the version is no higher than what is used by MSBuild. -->
<SystemTextJsonVersion>8.0.0</SystemTextJsonVersion>
<SystemTextJsonVersion>7.0.3</SystemTextJsonVersion>
<SystemThreadingChannelsVersion>7.0.0</SystemThreadingChannelsVersion>
<SystemThreadingTasksDataflowVersion>7.0.0</SystemThreadingTasksDataflowVersion>
<!-- We need System.ValueTuple assembly version at least 4.0.3.0 on net47 to make F5 work against Dev15 - see https://github.com/dotnet/roslyn/issues/29705 -->
Expand Down
4 changes: 0 additions & 4 deletions src/Compilers/VisualBasic/Test/Semantic/HasValidFonts.vb
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ Friend Class HasValidFonts
Public Overrides ReadOnly Property ShouldSkip As Boolean
Get
Try
#If NET8_0 Then
If OperatingSystem.IsWindowsVersionAtLeast(6, 1) Then
#Else
If RuntimeInformation.IsOSPlatform(OSPlatform.Windows) Then
#End If
' SystemFont.DefaultFont is only available on windows 6.1 and later
Dim result = SystemFonts.DefaultFont
Return result Is Nothing
Expand Down

0 comments on commit 628f42c

Please sign in to comment.