From 8c8bd4ad09f4f836405ea0e9d32b576a805b9e79 Mon Sep 17 00:00:00 2001 From: Jeremy Pritts <49847914+ds5678@users.noreply.github.com> Date: Tue, 1 Sep 2026 21:11:16 -0700 Subject: [PATCH] Add IReadOnlyList implementation to CppContainerList --- src/CppAst/CppContainerList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CppAst/CppContainerList.cs b/src/CppAst/CppContainerList.cs index aa3bb3a..c8da749 100644 --- a/src/CppAst/CppContainerList.cs +++ b/src/CppAst/CppContainerList.cs @@ -15,7 +15,7 @@ namespace CppAst /// [DebuggerTypeProxy(typeof(CppContainerListDebugView<>))] [DebuggerDisplay("Count = {Count}")] - public class CppContainerList : IList where TElement : CppElement + public class CppContainerList : IList, IReadOnlyList where TElement : CppElement { private readonly List _elements;