diff --git a/BeefLibs/corlib/src/Collections/Generic/List.bf b/BeefLibs/corlib/src/Collections/Generic/List.bf index b8bf53e1..1ce7c14e 100644 --- a/BeefLibs/corlib/src/Collections/Generic/List.bf +++ b/BeefLibs/corlib/src/Collections/Generic/List.bf @@ -227,6 +227,15 @@ namespace System.Collections.Generic #endif } } + + public ref T Front + { + get + { + Debug.Assert(mSize != 0); + return ref mItems[0]; + } + } public ref T Back {