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

From m204wiki
Jump to navigation Jump to search
(Created page with "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 de...")
 
m (1 revision)
(No difference)

Revision as of 16:45, 9 November 2010

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.