FastMember.TypeAccessor.GetNextCounterValue C# (CSharp) Méthode

GetNextCounterValue() private static méthode

private static GetNextCounterValue ( ) : int
Résultat int
        private static int GetNextCounterValue()
        {
#if COREFX
            lock(counterLock)
            {
                return counter++;
            }
#else
            return Interlocked.Increment(ref counter);
#endif
        }