disable broken tests on net_4_0
[mcs.git] / docs / ecma334 / 18.3.2.xml
blob574044d3b0a37524c40d2ce7947f4702bc208e9f
1 <?xml version="1.0"?>
2 <clause number="18.3.2" title="Inheritance">
3   <paragraph>All struct types implicitly inherit from System.ValueType, which, in turn, inherits from class object. A struct declaration may specify a list of implemented interfaces, but it is not possible for a struct declaration to specify a base class. </paragraph>
4   <paragraph>Struct types are never abstract and are always implicitly sealed. The abstract and sealed modifiers are therefore not permitted in a struct declaration. </paragraph>
5   <paragraph>Since inheritance isn't supported for structs, the declared accessibility of a struct member cannot be protected or protected internal. </paragraph>
6   <paragraph>Function members in a struct cannot be abstract or virtual, and the override modifier is allowed only to override methods inherited from the type System.ValueType. </paragraph>
7 </clause>