protected override void FreezeInternal() { returnTypeAttributes = FreezableHelper.FreezeListAndElements(returnTypeAttributes); typeParameters = FreezableHelper.FreezeListAndElements(typeParameters); parameters = FreezableHelper.FreezeListAndElements(parameters); base.FreezeInternal(); }
protected virtual void FreezeInternal() { attributes = FreezableHelper.FreezeListAndElements(attributes); if (rareFields != null) { rareFields.FreezeInternal(); } }
protected void ThrowIfFrozen() { FreezableHelper.ThrowIfFrozen(this); }
protected override void FreezeInternal() { base.FreezeInternal(); interfaceImplementations = FreezableHelper.FreezeList(interfaceImplementations); }