summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/ProtoBuf/Meta/MutableList.cs
blob: 3afa560992c161cf46578b10d3389d5cbdd70ebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System;

namespace ProtoBuf.Meta
{
	internal sealed class MutableList : BasicList
	{
		public new object this[int index]
		{
			get
			{
				return this.head[index];
			}
			set
			{
				this.head[index] = value;
			}
		}

		public void RemoveLast()
		{
			this.head.RemoveLastWithMutate();
		}

		public new void Clear()
		{
			this.head.Clear();
		}
	}
}