protected override void NotifyBeginType() { var creator = new TypeCreator(this); if (_pendingByRef > 0) { _pendingByRef--; creator.ByRef(); } _creators.Push(creator); }