[Mono-list] How are string constants stored?

Paolo Molaro lupus@ximian.com
Wed, 7 Aug 2002 18:00:51 +0200


On 08/07/02 Holger Arnold wrote:
> the Type column of an entry in the Constant meta-data table may contain 
> ELEMENT_TYPE_STRING. The spec says that the Value column of this table 
> contains an index into the Blob heap. Does this mean that to store a string 
> constant, a #Blob heap entry must be created, that contains nothing more than 
> an index into the #String or #US heap?

No, the string contents are stored in the blob heap in this case.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better