private void RestorePrevious()
 {
     s_current = _previous;
 }
 public static void SetCurrent(MixedObjectInstantiationScope value)
 {
     s_current = value;
 }
 private void StorePreviousAndSetCurrent()
 {
     _previous = s_current;
     s_current = this;
 }