MSIR.0809 Disallow only valid in Public block: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
(Automatically generated page update)
Line 1: Line 1:
A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration.
A <tt>Disallow</tt> declaration appeared in a Private block. <tt>Disallow</tt> is only intended to restrict use of <tt>New</tt> or <tt>Discard</tt> outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the <tt>Disallow</tt> to the Public block. Otherwise, delete the <tt>Disallow</tt> declaration.


[[Category:Sirius Mods Messages]]
[[Category:Sirius Mods messages]]

Revision as of 17:59, 19 April 2013

A Disallow declaration appeared in a Private block. Disallow is only intended to restrict use of New or Discard outside the class so such a declaration only makes sense in a Public block. If the intent is to restrict use of the indicated method outside the class, move the Disallow to the Public block. Otherwise, delete the Disallow declaration.