protected override void FreezeInternal() { parameters = FreezableHelper.FreezeListAndElements(parameters); FreezableHelper.Freeze(getter); FreezableHelper.Freeze(setter); base.FreezeInternal(); }
protected override void FreezeInternal() { returnTypeAttributes = FreezableHelper.FreezeListAndElements(returnTypeAttributes); typeParameters = FreezableHelper.FreezeListAndElements(typeParameters); parameters = FreezableHelper.FreezeListAndElements(parameters); base.FreezeInternal(); }
protected override void FreezeInternal() { base.FreezeInternal(); baseTypes = FreezableHelper.FreezeList(baseTypes); typeParameters = FreezableHelper.FreezeListAndElements(typeParameters); nestedTypes = FreezableHelper.FreezeListAndElements(nestedTypes); members = FreezableHelper.FreezeListAndElements(members); }
protected virtual void FreezeInternal() { attributes = FreezableHelper.FreezeListAndElements(attributes); if (rareFields != null) { rareFields.FreezeInternal(); } }
protected override void FreezeInternal() { base.FreezeInternal(); rootUsingScope.Freeze(); topLevelTypeDefinitions = FreezableHelper.FreezeListAndElements(topLevelTypeDefinitions); assemblyAttributes = FreezableHelper.FreezeListAndElements(assemblyAttributes); moduleAttributes = FreezableHelper.FreezeListAndElements(moduleAttributes); usingScopes = FreezableHelper.FreezeListAndElements(usingScopes); }
void FreezeInternal() { attributes = FreezableHelper.FreezeListAndElements(attributes); FreezableHelper.Freeze(defaultValue); }