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