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