From 6f2f009de3b2e08d984ad01016b7d6235afbdd68 Mon Sep 17 00:00:00 2001 From: Lamparter <71598437+Lamparter@users.noreply.github.com> Date: Tue, 26 Nov 2024 19:02:56 +0000 Subject: [PATCH] More public declarations --- src/core/IronPython/Runtime/PythonList.cs | 2 +- src/core/IronPython/Runtime/Types/PythonType.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/IronPython/Runtime/PythonList.cs b/src/core/IronPython/Runtime/PythonList.cs index 6c491ba2f..72a7c5ad0 100644 --- a/src/core/IronPython/Runtime/PythonList.cs +++ b/src/core/IronPython/Runtime/PythonList.cs @@ -220,7 +220,7 @@ internal static PythonList FromEnumerable(IEnumerable items) { /// onto and may be mutated in the future by the list. /// /// params array to use for lists storage - internal static PythonList FromArrayNoCopy(params object[] data) + public static PythonList FromArrayNoCopy(params object[] data) => new PythonList(data); #endregion diff --git a/src/core/IronPython/Runtime/Types/PythonType.cs b/src/core/IronPython/Runtime/Types/PythonType.cs index 77e70c573..e3ecc2690 100644 --- a/src/core/IronPython/Runtime/Types/PythonType.cs +++ b/src/core/IronPython/Runtime/Types/PythonType.cs @@ -749,7 +749,7 @@ internal int SlotCount { /// /// Gets the name of the dynamic type /// - internal string Name { get; set; } + public string Name { get; set; } internal string QualName { get; set; }