Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

Commit 90d57fa

Browse files
author
Mikhail Arkhipov
authored
Upgrade to .NET 3.0 (#1521)
* Upgrade to 3.0 * Get back to 2.0
1 parent a9fb4ce commit 90d57fa

14 files changed

+14
-9
lines changed

src/Analysis/Ast/Test/FluentAssertions/AssertionsUtilities.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
using Microsoft.Python.Core;
2525
using Microsoft.Python.Core.Text;
2626
using Microsoft.Python.Parsing;
27+
using Range = Microsoft.Python.Core.Text.Range;
2728

2829
namespace Microsoft.Python.Analysis.Tests.FluentAssertions {
2930
public static class AssertionsUtilities {

src/Analysis/Ast/Test/Microsoft.Python.Analysis.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.2</TargetFramework>
3+
<TargetFramework>netcoreapp3.0</TargetFramework>
44
<RootNamespace>Microsoft.Python.Analysis.Tests</RootNamespace>
55
<AssemblyName>Microsoft.Python.Analysis.Tests</AssemblyName>
66
</PropertyGroup>

src/Core/Test/Microsoft.Python.Core.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.2</TargetFramework>
3+
<TargetFramework>netcoreapp3.0</TargetFramework>
44
<RootNamespace>Microsoft.Python.Core.Tests</RootNamespace>
55
<AssemblyName>Microsoft.Python.Core.Tests</AssemblyName>
66
</PropertyGroup>

src/LanguageServer/Impl/Formatting/BlockFormatter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
using Microsoft.Python.Core.Diagnostics;
2525
using Microsoft.Python.Core.Text;
2626
using Microsoft.Python.LanguageServer.Protocol;
27+
using Range = Microsoft.Python.Core.Text.Range;
2728

2829
namespace Microsoft.Python.LanguageServer.Formatting {
2930
/// <summary>

src/LanguageServer/Impl/Formatting/LineFormatter.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
using Microsoft.Python.Core.Text;
2525
using Microsoft.Python.LanguageServer.Protocol;
2626
using Microsoft.Python.Parsing;
27+
using Range = Microsoft.Python.Core.Text.Range;
2728

2829
namespace Microsoft.Python.LanguageServer.Formatting {
2930
/// <summary>

src/LanguageServer/Impl/LanguageServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@
2525
using Microsoft.Python.Core.Idle;
2626
using Microsoft.Python.Core.Logging;
2727
using Microsoft.Python.Core.Services;
28-
using Microsoft.Python.Core.Text;
2928
using Microsoft.Python.Core.Threading;
3029
using Microsoft.Python.LanguageServer.Extensibility;
3130
using Microsoft.Python.LanguageServer.Protocol;
3231
using Microsoft.Python.LanguageServer.Telemetry;
3332
using Newtonsoft.Json;
3433
using Newtonsoft.Json.Linq;
3534
using StreamJsonRpc;
35+
using Range = Microsoft.Python.Core.Text.Range;
3636

3737
namespace Microsoft.Python.LanguageServer.Implementation {
3838
/// <summary>

src/LanguageServer/Impl/Microsoft.Python.LanguageServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.2</TargetFramework>
3+
<TargetFramework>netcoreapp3.0</TargetFramework>
44
<RootNamespace>Microsoft.Python.LanguageServer</RootNamespace>
55
<AssemblyName>Microsoft.Python.LanguageServer</AssemblyName>
66
</PropertyGroup>

src/LanguageServer/Impl/Protocol/Classes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
using System;
1717
using System.Collections.Generic;
1818
using System.Diagnostics;
19-
using Microsoft.Python.Core.Text;
2019
using Newtonsoft.Json;
20+
using Range = Microsoft.Python.Core.Text.Range;
2121

2222
namespace Microsoft.Python.LanguageServer.Protocol {
2323
[Serializable]

src/LanguageServer/Impl/Protocol/Messages.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
using System.Runtime.InteropServices;
1818
using System.Threading.Tasks;
1919
using Microsoft.Python.Core.Text;
20+
using Range = Microsoft.Python.Core.Text.Range;
2021

2122
namespace Microsoft.Python.LanguageServer.Protocol {
2223
[Serializable]

src/LanguageServer/Impl/Sources/HoverSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
// See the Apache Version 2.0 License for specific language governing
1414
// permissions and limitations under the License.
1515

16-
using System;
1716
using Microsoft.Python.Analysis;
1817
using Microsoft.Python.Analysis.Analyzer;
1918
using Microsoft.Python.Analysis.Analyzer.Expressions;
@@ -25,6 +24,7 @@
2524
using Microsoft.Python.LanguageServer.Completion;
2625
using Microsoft.Python.LanguageServer.Protocol;
2726
using Microsoft.Python.Parsing.Ast;
27+
using Range = Microsoft.Python.Core.Text.Range;
2828

2929
namespace Microsoft.Python.LanguageServer.Sources {
3030
internal sealed class HoverSource {

src/LanguageServer/Test/FluentAssertions/TextEditCollectionAssertions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
using Microsoft.Python.Core.Text;
2424
using Microsoft.Python.LanguageServer.Protocol;
2525
using static Microsoft.Python.Analysis.Tests.FluentAssertions.AssertionsUtilities;
26+
using Range = Microsoft.Python.Core.Text.Range;
2627

2728
namespace Microsoft.Python.LanguageServer.Tests.FluentAssertions {
2829
[ExcludeFromCodeCoverage]

src/LanguageServer/Test/Microsoft.Python.LanguageServer.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.2</TargetFramework>
3+
<TargetFramework>netcoreapp3.0</TargetFramework>
44
<RootNamespace>Microsoft.Python.LanguageServer.Tests</RootNamespace>
55
<AssemblyName>Microsoft.Python.LanguageServer.Tests</AssemblyName>
66
</PropertyGroup>

src/Parsing/Test/Microsoft.Python.Parsing.Tests.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netcoreapp2.2</TargetFramework>
3+
<TargetFramework>netcoreapp3.0</TargetFramework>
44
<RootNamespace>Microsoft.Python.Parsing.Tests</RootNamespace>
55
<AssemblyName>Microsoft.Python.Parsing.Tests</AssemblyName>
66
</PropertyGroup>

src/UnitTests/Core/Impl/UnitTests.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<TargetFramework>netstandard2.0</TargetFramework>
3+
<TargetFramework>netstandard2.1</TargetFramework>
44
<RootNamespace>Microsoft.Python.UnitTests.Core</RootNamespace>
55
<AssemblyName>Microsoft.Python.UnitTests.Core</AssemblyName>
66
</PropertyGroup>

0 commit comments

Comments
 (0)