MSIR.0782 Block not associated with name (name)

From m204wiki
Revision as of 15:01, 9 November 2010 by 198.242.244.47 (talk) (Created page with "An <tt>End</tt> statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the bloc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

An End statement was followed by the correct qualifier, but the qualifier was followed by an incorrect name. The name much mas the name of the entity with which the block being ended is associated. For example, for End Class, End Public, End Private, End Public Shared, and End Private Shared, the entity name is the class name. For End Function, End Property, End Subroutine, End Constructor, End Set, and End Get, the entity name is the method name. The name being complained about is never required, and a common cause of this error is for extra characters to have been accidentally typed after a block end.