protected override void FreezeInternal() { conditionalSymbols = FreezableHelper.FreezeList(conditionalSymbols); specificWarningsAsErrors = FreezableHelper.FreezeList(specificWarningsAsErrors); disabledWarnings = FreezableHelper.FreezeList(disabledWarnings); 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 override void FreezeInternal() { usings = FreezableHelper.FreezeList(usings); usingAliases = FreezableHelper.FreezeList(usingAliases); externAliases = FreezableHelper.FreezeList(externAliases); // In current model (no child scopes), it makes sense to freeze the parent as well // to ensure the whole lookup chain is immutable. if (parent != null) { parent.Freeze(); } base.FreezeInternal(); }
protected override void FreezeInternal() { base.FreezeInternal(); interfaceImplementations = FreezableHelper.FreezeList(interfaceImplementations); }