Jon Jagger
jon@jaggersoft.com
Table of Contents 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 Notes DownloadECMA-334 C# Language Specificationpreviousnextprevious at this levelnext at this level 17 Classesprevious at this levelnext at this level 17.2 Class membersprevious at this levelnext at this level 17.2.2 The new modifier Paragraph 11 A class-member-declaration is permitted to declare a member with the same name or signature as an inherited member. 2 When this occurs, the derived class member is said to hide the base class member. 3 Hiding an inherited member is not considered an error, but it does cause the compiler to issue a warning. 4 To suppress the warning, the declaration of the derived class member can include a new modifier to indicate that the derived member is intended to hide the base member. 5 This topic is discussed further in §10.7.1.2. Paragraph 21 If a new modifier is included in a declaration that doesn't hide an inherited member, a warning to that effect is issued. 2 This warning is suppressed by removing the new modifier.
{ JSL }
Jagger Software Ltd
Company # 4070126
VAT # 762 5213 42
Valid HTML 4.01Valid CSS