Assembler directives (in textual form) are the work of the IL disassembler (in clr\src\ildasm). In .NET binaries, these correspond to metadata elements. Of course source compilers that generate IL assembler have their own way of emitting these directives.
.locals is a part of the IL method header. You can find code that deals with emitting IL method headers into binary code stream in the source of ilasm (Assembler::AddMethod in clr\src\ilasm\assem.cpp) and C#, Jscript compilers. HTH, Nam On Thu, 11 Nov 2004 10:35:39 +0530, Archana <[EMAIL PROTECTED]> wrote: > Hi, > where can i find code that deals with emitting assembler directives into > the code stream specifically .locals etc..? > Thanks > archana > > =================================== > This list is hosted by DevelopMentorŪ http://www.develop.com > ASP.NET courses you may be interested in: > > Guerrilla.NET > November 29 - December 03, 204, in London, UK > December 06-10, 2004, in Los Angeles > http://www.develop.com/courses/gdotnetls > > Essential .NET: building applications and components with CSharp > November 29 - December 03, 2004, in Los Angeles > http://www.develop.com/courses/edotnet > > View archives and manage your subscription(s) at http://discuss.develop.com > =================================== This list is hosted by DevelopMentorŪ http://www.develop.com ASP.NET courses you may be interested in: Guerrilla.NET November 29 - December 03, 204, in London, UK December 06-10, 2004, in Los Angeles http://www.develop.com/courses/gdotnetls Essential .NET: building applications and components with CSharp November 29 - December 03, 2004, in Los Angeles http://www.develop.com/courses/edotnet View archives and manage your subscription(s) at http://discuss.develop.com