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

Upgrade to .NET 3.0 #1521

Merged
merged 2 commits into from
Sep 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using Microsoft.Python.Core;
using Microsoft.Python.Core.Text;
using Microsoft.Python.Parsing;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.Analysis.Tests.FluentAssertions {
public static class AssertionsUtilities {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>Microsoft.Python.Analysis.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.Analysis.Tests</AssemblyName>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Test/Microsoft.Python.Core.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>Microsoft.Python.Core.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.Core.Tests</AssemblyName>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/LanguageServer/Impl/Formatting/BlockFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using Microsoft.Python.Core.Diagnostics;
using Microsoft.Python.Core.Text;
using Microsoft.Python.LanguageServer.Protocol;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Formatting {
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/LanguageServer/Impl/Formatting/LineFormatter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
using Microsoft.Python.Core.Text;
using Microsoft.Python.LanguageServer.Protocol;
using Microsoft.Python.Parsing;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Formatting {
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/LanguageServer/Impl/LanguageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
using Microsoft.Python.Core.Idle;
using Microsoft.Python.Core.Logging;
using Microsoft.Python.Core.Services;
using Microsoft.Python.Core.Text;
using Microsoft.Python.Core.Threading;
using Microsoft.Python.LanguageServer.Extensibility;
using Microsoft.Python.LanguageServer.Protocol;
using Microsoft.Python.LanguageServer.Telemetry;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using StreamJsonRpc;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Implementation {
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>Microsoft.Python.LanguageServer</RootNamespace>
<AssemblyName>Microsoft.Python.LanguageServer</AssemblyName>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/LanguageServer/Impl/Protocol/Classes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using Microsoft.Python.Core.Text;
using Newtonsoft.Json;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Protocol {
[Serializable]
Expand Down
1 change: 1 addition & 0 deletions src/LanguageServer/Impl/Protocol/Messages.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using Microsoft.Python.Core.Text;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Protocol {
[Serializable]
Expand Down
2 changes: 1 addition & 1 deletion src/LanguageServer/Impl/Sources/HoverSource.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
// See the Apache Version 2.0 License for specific language governing
// permissions and limitations under the License.

using System;
using Microsoft.Python.Analysis;
using Microsoft.Python.Analysis.Analyzer;
using Microsoft.Python.Analysis.Analyzer.Expressions;
Expand All @@ -25,6 +24,7 @@
using Microsoft.Python.LanguageServer.Completion;
using Microsoft.Python.LanguageServer.Protocol;
using Microsoft.Python.Parsing.Ast;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Sources {
internal sealed class HoverSource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
using Microsoft.Python.Core.Text;
using Microsoft.Python.LanguageServer.Protocol;
using static Microsoft.Python.Analysis.Tests.FluentAssertions.AssertionsUtilities;
using Range = Microsoft.Python.Core.Text.Range;

namespace Microsoft.Python.LanguageServer.Tests.FluentAssertions {
[ExcludeFromCodeCoverage]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>Microsoft.Python.LanguageServer.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.LanguageServer.Tests</AssemblyName>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Parsing/Test/Microsoft.Python.Parsing.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
<RootNamespace>Microsoft.Python.Parsing.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.Parsing.Tests</AssemblyName>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/UnitTests/Core/Impl/UnitTests.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>Microsoft.Python.UnitTests.Core</RootNamespace>
<AssemblyName>Microsoft.Python.UnitTests.Core</AssemblyName>
</PropertyGroup>
Expand Down