예제 #1
0
 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;
 }
예제 #2
0
 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;
 }