Example #1
0
 private void ThrowIfSealed()
 {
     if (IsReadOnly)
     {
         throw SpecFailure.Sealed();
     }
 }
Example #2
0
 private void WritePreamble()
 {
     if (IsReadOnly)
     {
         throw SpecFailure.Sealed();
     }
 }