TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 08-10-2007, 11:30 AM   #1
Bob
Guest
 
Posts: n/a
Anonymous Method

What name does the compiler give to anonymous methods in the output
assembly - or what is the "name pattern"?

.... can't imagine it would be relevant to anything I do... just curious.


  Reply With Quote
Old 08-10-2007, 01:36 PM   #2
james
Guest
 
Posts: n/a
Re: Anonymous Method

Grab a reflector and find out

http://www.aisto.com/roeder/dotnet/

-James

  Reply With Quote
Old 08-10-2007, 07:36 PM   #3
Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
Re: Anonymous Method

Bob,

In addition to James response, you can also look for the
CompilerGenerated attribute, as the method that the compiler generates is
going to place that attribute on it.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

"Bob" <A@B.com> wrote in message
news:OiDaNCWCIHA.748@TK2MSFTNGP04.phx.gbl...
> What name does the compiler give to anonymous methods in the output
> assembly - or what is the "name pattern"?
>
> ... can't imagine it would be relevant to anything I do... just curious.
>


  Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Method.invoke() with one arg compiles despite method signature lyallex Java 6 30-09-2007 02:32 AM
CLI and calling the base method from the derived method DaTurk VC.NET 2 05-09-2007 03:52 PM
MSXML 4 error: This method cannot be called after the send method. Phil_M Windows XP 0 28-08-2007 01:19 AM
MSXML 4 error: This method cannot be called after the send method. Phil_M Windows XP 0 28-08-2007 01:19 AM
What is Anonymous Surfing? Sparks Tech Reference 7 20-01-2007 02:51 PM



New To Site? Need Help?

All times are GMT +5.5. The time now is 02:30 PM.


vBulletin, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2009, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional