From 45a952314d26f1cfd2f4879500a83f0ed7281d0e Mon Sep 17 00:00:00 2001 From: Marko Lahma Date: Sun, 27 Oct 2024 08:50:49 +0200 Subject: [PATCH] Make JsSet int indexer internal * 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; } }