From c3d86d8b6933b654308bf6aaa34a5c4bc509239d Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Sun, 27 Oct 2024 09:07:00 +0200 Subject: [PATCH] Make JsSet int indexer internal (#1989) * might not be easily available if backing storage changes --- Jint/Native/JsSet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jint/Native/JsSet.cs b/Jint/Native/JsSet.cs index f6335aa56..f7c74c54f 100644 --- a/Jint/Native/JsSet.cs +++ b/Jint/Native/JsSet.cs @@ -22,7 +22,7 @@ internal JsSet(Engine engine, OrderedSet set) : base(engine) 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; } }