浏览代码

Make JsSet int indexer internal (#1989)

* might not be easily available if backing storage changes
Marko Lahma 9 月之前
父节点
当前提交
c3d86d8b69
共有 1 个文件被更改,包括 1 次插入1 次删除
  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; }
     }