Skip to content

Commit

Permalink
Merge pull request #1 from apiiro/ohad/net-core-5
Browse files Browse the repository at this point in the history
Port to .net core 5
  • Loading branch information
ohadApiiro authored Nov 8, 2021
2 parents 26ea189 + 5127c44 commit 5010b21
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 10 deletions.
1 change: 1 addition & 0 deletions src/Analysis/Ast/Impl/Analyzer/PythonAnalyzerSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
using Microsoft.Python.Core.Logging;
using Microsoft.Python.Core.Testing;
using Microsoft.Python.Parsing.Ast;
using DiagnosticSource = Microsoft.Python.Analysis.Diagnostics.DiagnosticSource;

namespace Microsoft.Python.Analysis.Analyzer {
internal sealed class PythonAnalyzerSession {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
using Microsoft.Python.Parsing;
using Microsoft.Python.Parsing.Ast;
using ErrorCodes = Microsoft.Python.Analysis.Diagnostics.ErrorCodes;
using DiagnosticSource = Microsoft.Python.Analysis.Diagnostics.DiagnosticSource;

namespace Microsoft.Python.Analysis.Analyzer.Symbols {
[DebuggerDisplay("{FunctionDefinition.Name}")]
Expand Down
2 changes: 1 addition & 1 deletion src/Analysis/Ast/Impl/Microsoft.Python.Analysis.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Analysis</RootNamespace>
<AssemblyName>Microsoft.Python.Analysis</AssemblyName>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions src/Analysis/Ast/Impl/Modules/PythonModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
using Microsoft.Python.Core.Text;
using Microsoft.Python.Parsing;
using Microsoft.Python.Parsing.Ast;
using DiagnosticSource = Microsoft.Python.Analysis.Diagnostics.DiagnosticSource;

namespace Microsoft.Python.Analysis.Modules {
/// <summary>
Expand Down
1 change: 1 addition & 0 deletions src/Analysis/Ast/Impl/Types/ArgumentSet.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using System.Linq;
using Microsoft.Python.Analysis.Analyzer;
using Microsoft.Python.Analysis.Diagnostics;
using DiagnosticSource = Microsoft.Python.Analysis.Diagnostics.DiagnosticSource;
using Microsoft.Python.Analysis.Values;
using Microsoft.Python.Core;
using Microsoft.Python.Parsing;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Analysis.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.Analysis.Tests</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Analysis</RootNamespace>
<AssemblyName>Microsoft.Python.Analysis.Core</AssemblyName>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/Core/Impl/Microsoft.Python.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Core</RootNamespace>
<AssemblyName>Microsoft.Python.Core</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>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Core.Tests</RootNamespace>
<AssemblyName>Microsoft.Python.Core.Tests</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.LanguageServer</RootNamespace>
<AssemblyName>Microsoft.Python.LanguageServer</AssemblyName>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.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/Impl/Microsoft.Python.Parsing.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.Parsing</RootNamespace>
<AssemblyName>Microsoft.Python.Parsing</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>netcoreapp3.1</TargetFramework>
<TargetFramework>net5.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.1</TargetFramework>
<TargetFramework>net5.0</TargetFramework>
<RootNamespace>Microsoft.Python.UnitTests.Core</RootNamespace>
<AssemblyName>Microsoft.Python.UnitTests.Core</AssemblyName>
</PropertyGroup>
Expand Down

0 comments on commit 5010b21

Please sign in to comment.