mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 17:56:04 +08:00
[csharp] Removes [Serializable] from ExposedList and its enumarator. Fixes compilation on UWP. See #1193.
This commit is contained in:
parent
02c6f9cc63
commit
2bc3adb366
@ -36,7 +36,6 @@ using System.Collections.Generic;
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
namespace Spine {
|
namespace Spine {
|
||||||
[Serializable]
|
|
||||||
[DebuggerDisplay("Count={Count}")]
|
[DebuggerDisplay("Count={Count}")]
|
||||||
public class ExposedList<T> : IEnumerable<T> {
|
public class ExposedList<T> : IEnumerable<T> {
|
||||||
public T[] Items;
|
public T[] Items;
|
||||||
@ -562,7 +561,6 @@ namespace Spine {
|
|||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
[Serializable]
|
|
||||||
public struct Enumerator : IEnumerator<T>, IDisposable {
|
public struct Enumerator : IEnumerator<T>, IDisposable {
|
||||||
private ExposedList<T> l;
|
private ExposedList<T> l;
|
||||||
private int next;
|
private int next;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user