Beispiel #1
0
 protected override void FreezeInternal()
 {
     returnTypeAttributes = FreezableHelper.FreezeListAndElements(returnTypeAttributes);
     typeParameters       = FreezableHelper.FreezeListAndElements(typeParameters);
     parameters           = FreezableHelper.FreezeListAndElements(parameters);
     base.FreezeInternal();
 }
Beispiel #2
0
 protected virtual void FreezeInternal()
 {
     attributes = FreezableHelper.FreezeListAndElements(attributes);
     if (rareFields != null)
     {
         rareFields.FreezeInternal();
     }
 }
Beispiel #3
0
 protected void ThrowIfFrozen()
 {
     FreezableHelper.ThrowIfFrozen(this);
 }
Beispiel #4
0
 protected override void FreezeInternal()
 {
     base.FreezeInternal();
     interfaceImplementations = FreezableHelper.FreezeList(interfaceImplementations);
 }