Browse Source

Make JsSet int indexer internal (#1989)

* might not be easily available if backing storage changes
Marko Lahma 9 tháng trước cách đây
mục cha
commit
c3d86d8b69
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Jint/Native/JsSet.cs

+ 1 - 1
Jint/Native/JsSet.cs

@@ -22,7 +22,7 @@ public sealed class JsSet : ObjectInstance, IEnumerable<JsValue>
 
     public int Size => _set.Count;
 
-    public JsValue? this[int index]
+    internal JsValue? this[int index]
     {
         get { return index < _set._list.Count ? _set._list[index] : null; }
     }