diff --git a/source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs b/source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs index 89c18d70d..751e5909c 100644 --- a/source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs +++ b/source/Cosmos.Core_Plugs/System/Threading/InterlockedImpl.cs @@ -10,5 +10,9 @@ namespace Cosmos.Core_Plugs.System.Threading { return aData -= 1; } + public static int Increment(ref int aData) + { + return aData += 1; + } } }