private void IncrementMethodVersion() { if (IsClass) { Version.Method = Interlocked.Increment(ref _globalMethodVersion); } }