diff --git a/spine-csharp/src/ExposedList.cs b/spine-csharp/src/ExposedList.cs index e76086a28..58a23226f 100644 --- a/spine-csharp/src/ExposedList.cs +++ b/spine-csharp/src/ExposedList.cs @@ -17,10 +17,10 @@ // distribute, sublicense, and/or sell copies of the Software, and to // permit persons to whom the Software is furnished to do so, subject to // the following conditions: -// +// // The above copyright notice and this permission notice shall be // included in all copies or substantial portions of the Software. -// +// // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND @@ -36,7 +36,6 @@ using System.Collections.Generic; using System.Diagnostics; namespace Spine { - [Serializable] [DebuggerDisplay("Count={Count}")] public class ExposedList : IEnumerable { public T[] Items; @@ -467,7 +466,7 @@ namespace Spine { public T Pop () { if (Count == 0) throw new InvalidOperationException("List is empty. Nothing to pop."); - + int i = Count - 1; T item = Items[i]; Items[i] = default(T); @@ -562,7 +561,6 @@ namespace Spine { #endregion - [Serializable] public struct Enumerator : IEnumerator, IDisposable { private ExposedList l; private int next;