Skip to content

Commit 119eae3

Browse files
committed
Mark more classes and constructors as public
this is tiring
1 parent 571ed1a commit 119eae3

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/core/IronPython/Runtime/PythonDictionary.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public PythonDictionary() {
3636
_storage = EmptyDictionaryStorage.Instance;
3737
}
3838

39-
internal PythonDictionary(DictionaryStorage storage) {
39+
public PythonDictionary(DictionaryStorage storage) {
4040
_storage = storage;
4141
}
4242

43-
internal PythonDictionary(IDictionary dict) {
43+
public PythonDictionary(IDictionary dict) {
4444
var storage = new CommonDictionaryStorage();
4545

4646
foreach (DictionaryEntry de in dict) {
@@ -49,7 +49,7 @@ internal PythonDictionary(IDictionary dict) {
4949
_storage = storage;
5050
}
5151

52-
internal PythonDictionary(IDictionary<object, object> dict) {
52+
public PythonDictionary(IDictionary<object, object> dict) {
5353
var storage = new CommonDictionaryStorage();
5454

5555
foreach (var pair in dict) {
@@ -58,16 +58,16 @@ internal PythonDictionary(IDictionary<object, object> dict) {
5858
_storage = storage;
5959
}
6060

61-
internal PythonDictionary(PythonDictionary dict) {
61+
public PythonDictionary(PythonDictionary dict) {
6262
_storage = dict._storage.Clone();
6363
}
6464

65-
internal PythonDictionary(CodeContext/*!*/ context, object o)
65+
public PythonDictionary(CodeContext/*!*/ context, object o)
6666
: this() {
6767
update(context, o);
6868
}
6969

70-
internal PythonDictionary(int size) {
70+
public PythonDictionary(int size) {
7171
_storage = size == 0 ? (DictionaryStorage)EmptyDictionaryStorage.Instance : new CommonDictionaryStorage(size);
7272
}
7373

src/core/IronPython/Runtime/Types/EmptyType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public sealed class NotImplementedType : ICodeFormattable {
5353

5454
private NotImplementedType() { }
5555

56-
internal static NotImplementedType Value {
56+
public static NotImplementedType Value {
5757
get {
5858
if (_instance == null) {
5959
Interlocked.CompareExchange(ref _instance, new NotImplementedType(), null);

0 commit comments

Comments
 (0)