Compare commits

..

No commits in common. "f23f9692a2536d15752b236447d1e133314e80ae" and "6a3b78026dee2aeba58af8c9048150ef109cb8f3" have entirely different histories.

12 changed files with 12 additions and 46 deletions

View File

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.AutoInjections.Internal;
using DCFApixels.DragonECS.AutoInjections.Internal;
using System;
using System.Collections.Generic;
using System.Linq;

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.PoolsCore;
using DCFApixels.DragonECS.PoolsCore;
using System;
using System.Linq;

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System;
namespace DCFApixels.DragonECS
{

View File

@ -1,6 +1,3 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.AutoInjections;
using DCFApixels.DragonECS.AutoInjections.Internal;
using System;
@ -66,7 +63,7 @@ namespace DCFApixels.DragonECS
{
return false;
}
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS
#if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
if (!isAgressiveInjection && o.CanWrite == false) { Throw.PropertyIsCantWrite(o); }
#endif
return o.CanWrite == false;
@ -81,7 +78,7 @@ namespace DCFApixels.DragonECS
return false;
}
var parameters = o.GetParameters();
#if DEBUG || ENABLE_DRAGONECS_ASSERT_CHEKS
#if (DEBUG && !DISABLE_DEBUG) || ENABLE_DRAGONECS_ASSERT_CHEKS
if (!isAgressiveInjection)
{
if (o.IsGenericMethod) { Throw.MethodIsGeneric(o); }
@ -213,10 +210,8 @@ namespace DCFApixels.DragonECS
static AutoInjectSystem()
{
EcsAspect.OnInit -= EcsAspect_OnInit;
EcsAspect.OnInit += EcsAspect_OnInit;
EcsAspect.OnAfterInit -= EcsAspect_OnBuild;
EcsAspect.OnAfterInit += EcsAspect_OnBuild;
EcsAspect.OnAfterInit += EcsAspect_OnBuild; ;
}
private static void EcsAspect_OnInit(object aspect, EcsAspect.Builder builder)

View File

@ -1,8 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
namespace DCFApixels.DragonECS
namespace DCFApixels.DragonECS
{
public static class AutoInjectSystemExtensions
{

View File

@ -1,8 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System;
[AttributeUsage(AttributeTargets.Interface, Inherited = false, AllowMultiple = false)]
public sealed class BindWithRunnerAttribute : Attribute
{

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using DCFApixels.DragonECS.AutoInjections.Internal;
using DCFApixels.DragonECS.AutoInjections.Internal;
using System;
using System.Reflection;

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System;
using System.Reflection;
namespace DCFApixels.DragonECS

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;

View File

@ -1,7 +1,4 @@
#if DISABLE_DEBUG
#undef DEBUG
#endif
using System;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;