Skip to content

Commit e2ca0ba

Browse files
committed
Rename namespaces
1 parent cfa78a2 commit e2ca0ba

File tree

10 files changed

+29
-26
lines changed

10 files changed

+29
-26
lines changed

src/executables/IronPython.Compiler/AssemblyResolver.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
using System;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System;
26
using System.Collections.Generic;
37
using System.IO;
4-
using System.Linq;
5-
using System.Text;
6-
using System.Threading.Tasks;
78

89
using IKVM.Reflection;
910

10-
namespace IronPythonCompiler {
11+
namespace IronPython.Compiler {
1112
internal class AssemblyResolver {
1213
private Universe _universe;
1314
private readonly List<string> _libpaths = new List<string>();

src/executables/IronPython.Compiler/Config.cs

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
using System;
2-
using System.IO;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information.
4+
5+
using System;
36
using System.Collections.Generic;
4-
using System.Linq;
7+
using System.IO;
58
using System.Text;
6-
using System.Text.RegularExpressions;
7-
using IKVM.Reflection;
9+
810
using IKVM.Reflection.Emit;
9-
using System.Resources;
10-
using System.Reflection;
11+
1112
using Microsoft.Scripting.Runtime;
1213

13-
namespace IronPythonCompiler {
14+
namespace IronPython.Compiler {
1415
public class Config {
1516

1617
public Config() {

src/executables/IronPython.Compiler/ConsoleOps.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Text;
1+
// Licensed to the .NET Foundation under one or more agreements.
2+
// The .NET Foundation licenses this file to you under the Apache 2.0 License.
3+
// See the LICENSE file in the project root for more information.
54

6-
namespace IronPythonCompiler {
5+
using System;
6+
7+
namespace IronPython.Compiler {
78
public static class ConsoleOps {
89

910
public static void Error(string format, params object[] args) {

src/executables/IronPython.Compiler/IronPython.Compiler.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<PropertyGroup>
44
<TargetFrameworks>net462</TargetFrameworks>
55
<OutputType>Exe</OutputType>
6-
<RootNamespace>IronPythonCompiler</RootNamespace>
6+
<RootNamespace>IronPython.Compiler</RootNamespace>
77
<AssemblyName>ipyc</AssemblyName>
8-
<StartupObject>IronPythonCompiler.Program</StartupObject>
8+
<StartupObject>IronPython.Compiler.Program</StartupObject>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1010
</PropertyGroup>
1111

src/executables/IronPython.Compiler/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
using Type = IKVM.Reflection.Type;
2121

22-
namespace IronPythonCompiler {
22+
namespace IronPython.Compiler {
2323

2424
public class Program {
2525

src/executables/IronPython.Console/IronPython.Console.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>net462;net6.0;net8.0</TargetFrameworks>
55
<OutputType>Exe</OutputType>
6-
<RootNamespace>IronPythonConsole</RootNamespace>
6+
<RootNamespace>IronPython.Console</RootNamespace>
77
<AssemblyName>ipy</AssemblyName>
88
<ApplicationIcon>ipy.ico</ApplicationIcon>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/executables/IronPython.Console32/IronPython.Console32.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>net462</TargetFrameworks>
55
<PlatformTarget>x86</PlatformTarget>
66
<OutputType>Exe</OutputType>
7-
<RootNamespace>IronPythonConsole</RootNamespace>
7+
<RootNamespace>IronPython.Console32</RootNamespace>
88
<AssemblyName>ipy32</AssemblyName>
99
<ApplicationIcon>..\IronPython.Console\ipy.ico</ApplicationIcon>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/executables/IronPython.Window/IronPython.Window.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>net462</TargetFrameworks>
55
<OutputType>WinExe</OutputType>
6-
<RootNamespace>IronPythonWindow</RootNamespace>
6+
<RootNamespace>IronPython.Window</RootNamespace>
77
<AssemblyName>ipyw</AssemblyName>
88
<ApplicationIcon>ipyw.ico</ApplicationIcon>
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/executables/IronPython.Window32/IronPython.Window32.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFrameworks>net462</TargetFrameworks>
55
<PlatformTarget>x86</PlatformTarget>
66
<OutputType>WinExe</OutputType>
7-
<RootNamespace>IronPythonWindow</RootNamespace>
7+
<RootNamespace>IronPython.Window32</RootNamespace>
88
<AssemblyName>ipyw32</AssemblyName>
99
<ApplicationIcon>..\IronPython.Window\ipyw.ico</ApplicationIcon>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>

src/roslyn/IronPython.Analyzer/IronPythonDiagnosticAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
using Microsoft.CodeAnalysis.Diagnostics;
1414
using Microsoft.CodeAnalysis.Operations;
1515

16-
namespace IronPythonAnalyzer {
16+
namespace IronPython.Analyzer {
1717
[DiagnosticAnalyzer(LanguageNames.CSharp)]
1818
public class IronPythonDiagnosticAnalyzer : DiagnosticAnalyzer {
1919
public const string DiagnosticId = "IronPythonAnalyzer";

0 commit comments

Comments
 (0)