disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 17.1.1.2.xml
bloba63ac49aa022b985eab7dacd0466410e506979ff
1 <?xml version="1.0"?>
2 <clause number="17.1.1.2" title="Sealed classes">
3   <paragraph>The sealed modifier is used to prevent derivation from a class. A compile-time error occurs if a sealed class is specified as the base class of another class. </paragraph>
4   <paragraph>A sealed class cannot also be an abstract class. </paragraph>
5   <paragraph>
6     <note>[Note: The sealed modifier is primarily used to prevent unintended derivation, but it also enables certain run-time optimizations. In particular, because a sealed class is known to never have any derived classes, it is possible to transform virtual function member invocations on sealed class instances into non-virtual invocations. end note]</note>
7   </paragraph>
8 </clause>