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;