Re: Quoted Names

Serge Lidin <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.rotor
Message-ID <3065AC413A2F7641B86AC64F94DC4553278657@RED-MSG-31.redmond.corp.microsoft.com>
"blob" is an ILAsm keyword used for Variant Types (VT_BLOB). The ILAsm keywords include all IL instructions from inc\opcode.def plus keywords defined in inc\il_kywd.h

If you are using round-tripping technique (disassemble-edit-reassemble), please use /QUO option of ILDasm. All your identifiers will be single-quoted, which will protect your IL code from possible changes in ILAsm keyword set.

Thanks,
Serge

-----Original Message-----
From: Discussion of the Rotor Shared Source CLI implementation
[mailto:[email protected]]On Behalf Of Mirko Matytschak
Sent: Friday, August 01, 2003 6:45 AM
To: [email protected]
Subject: [DOTNET-ROTOR] Quoted Names


Hi there,
I stumbled upon a phenomenon which puzzles me. I used "blob" as name for a
field in IL Language. ILAsm gives me an error at Token "blob". To
understand what's going on, I wrote a short C# program with a variable
named "blob", compiled and disassembled with ILDasm. ILDasm generated a
Quoted name: "'blob'". I don't understand why. "blob" is definitely not a
keyword (I checked opcode.def). Can somebody explain, what's going on
there?

Regards
Mirko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.