protected override void InitializePropertyMethods_NoLock() { if (otherMethods != null) { return; } ownerType.InitializeProperty(this, out var newGetMethods, out var newSetMethods, out var newOtherMethods); getMethods = newGetMethods; setMethods = newSetMethods; // Must be initialized last otherMethods = newOtherMethods; }
protected override void InitializePropertyMethods_NoLock() { if (otherMethods != null) { return; } ThreadSafe.IList <MethodDef> newOtherMethods; ThreadSafe.IList <MethodDef> newGetMethods, newSetMethods; ownerType.InitializeProperty(this, out newGetMethods, out newSetMethods, out newOtherMethods); getMethods = newGetMethods; setMethods = newSetMethods; // Must be initialized last otherMethods = newOtherMethods; }