diff --git a/src/Collections/EcsGroup.cs b/src/Collections/EcsGroup.cs index 7bbcd74..28f7474 100644 --- a/src/Collections/EcsGroup.cs +++ b/src/Collections/EcsGroup.cs @@ -180,7 +180,7 @@ namespace DCFApixels.DragonECS } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(DebuggerProxy))] diff --git a/src/Collections/EcsSpan.cs b/src/Collections/EcsSpan.cs index d7fc288..78f32f3 100644 --- a/src/Collections/EcsSpan.cs +++ b/src/Collections/EcsSpan.cs @@ -9,7 +9,7 @@ namespace DCFApixels.DragonECS { #if ENABLE_IL2CPP using Unity.IL2CPP.CompilerServices; - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(DebuggerProxy))] @@ -166,7 +166,7 @@ namespace DCFApixels.DragonECS } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(EcsSpan.DebuggerProxy))] diff --git a/src/Consts.cs b/src/Consts.cs index 46fe5dc..3e217ad 100644 --- a/src/Consts.cs +++ b/src/Consts.cs @@ -98,10 +98,10 @@ #if ENABLE_IL2CPP // Unity IL2CPP performance optimization attribute. -namespace Unity.IL2CPP.CompilerServices +namespace Unity.IL2CPP.CompilerServices { using System; - internal enum Option + internal enum Option { NullChecks = 1, ArrayBoundsChecks = 2, diff --git a/src/EcsMask.cs b/src/EcsMask.cs index 0acb017..cb43005 100644 --- a/src/EcsMask.cs +++ b/src/EcsMask.cs @@ -23,7 +23,7 @@ namespace DCFApixels.DragonECS using static EcsMaskIteratorUtility; #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(DebuggerProxy))] @@ -477,7 +477,7 @@ namespace DCFApixels.DragonECS #region EcsMaskIterator #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public class EcsMaskIterator @@ -616,7 +616,7 @@ namespace DCFApixels.DragonECS [MethodImpl(MethodImplOptions.AggressiveInlining)] public Enumerable Iterate(EcsSpan span) { return new Enumerable(this, span); } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public readonly ref struct Enumerable @@ -684,7 +684,7 @@ namespace DCFApixels.DragonECS } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public unsafe ref struct Enumerator @@ -748,7 +748,7 @@ namespace DCFApixels.DragonECS [MethodImpl(MethodImplOptions.AggressiveInlining)] public OnlyIncEnumerable IterateOnlyInc(EcsSpan span) { return new OnlyIncEnumerable(this, span); } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public readonly ref struct OnlyIncEnumerable @@ -817,7 +817,7 @@ namespace DCFApixels.DragonECS } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public unsafe ref struct Enumerator @@ -874,7 +874,7 @@ namespace DCFApixels.DragonECS.Internal { #region EcsMaskIteratorUtility #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif internal unsafe class EcsMaskIteratorUtility @@ -910,7 +910,7 @@ namespace DCFApixels.DragonECS.Internal } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif internal readonly struct IncCountComparer : IStructComparer @@ -929,7 +929,7 @@ namespace DCFApixels.DragonECS.Internal } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif internal readonly struct ExcCountComparer : IStructComparer diff --git a/src/EcsStaticMask.cs b/src/EcsStaticMask.cs index 9c8a0db..26a9f91 100644 --- a/src/EcsStaticMask.cs +++ b/src/EcsStaticMask.cs @@ -13,7 +13,7 @@ using Unity.IL2CPP.CompilerServices; namespace DCFApixels.DragonECS { #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(DebuggerProxy))] diff --git a/src/Internal/ArraySortHalperX.cs b/src/Internal/ArraySortHalperX.cs index 82ecfef..b66873d 100644 --- a/src/Internal/ArraySortHalperX.cs +++ b/src/Internal/ArraySortHalperX.cs @@ -14,7 +14,7 @@ namespace DCFApixels.DragonECS.Internal } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif internal static class ArraySortHalperX @@ -116,7 +116,7 @@ namespace DCFApixels.DragonECS.Internal } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif private class ComparisonHach : IComparer @@ -162,7 +162,7 @@ namespace DCFApixels.DragonECS.Internal } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif internal static unsafe class UnsafeArraySortHalperX where T : unmanaged diff --git a/src/Internal/UnsafeArray.cs b/src/Internal/UnsafeArray.cs index 9d8fa1a..93f577e 100644 --- a/src/Internal/UnsafeArray.cs +++ b/src/Internal/UnsafeArray.cs @@ -10,7 +10,7 @@ using Unity.IL2CPP.CompilerServices; namespace DCFApixels.DragonECS.Internal { #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif public static unsafe class TempBuffer where T : unmanaged @@ -42,7 +42,7 @@ namespace DCFApixels.DragonECS.Internal } } #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] [Il2CppSetOption(Option.ArrayBoundsChecks, false)] #endif [DebuggerTypeProxy(typeof(UnsafeArray<>.DebuggerProxy))] diff --git a/src/Pools/EcsPool.cs b/src/Pools/EcsPool.cs index c043842..c8d8045 100644 --- a/src/Pools/EcsPool.cs +++ b/src/Pools/EcsPool.cs @@ -19,7 +19,7 @@ namespace DCFApixels.DragonECS /// Pool for IEcsComponent components #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] #endif [MetaColor(MetaColor.DragonRose)] [MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)] diff --git a/src/Pools/EcsTagPool.cs b/src/Pools/EcsTagPool.cs index 8893ca8..893bacb 100644 --- a/src/Pools/EcsTagPool.cs +++ b/src/Pools/EcsTagPool.cs @@ -21,7 +21,7 @@ namespace DCFApixels.DragonECS /// Pool for IEcsTagComponent components. #if ENABLE_IL2CPP - [Il2CppSetOption (Option.NullChecks, false)] + [Il2CppSetOption(Option.NullChecks, false)] #endif [MetaColor(MetaColor.DragonRose)] [MetaGroup(EcsConsts.PACK_GROUP, EcsConsts.POOLS_GROUP)]