Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / C# / September 2007

Tip: Looking for answers? Try searching our database.

Obtaining .NET Framework Source Code - Or Equivalent

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Frankie - 16 Sep 2007 17:48 GMT
Let's say I want to see actual source code for some Framework member - say
the .BeginInvoke() of the delegate class. How can I acquire that? Is there
some utility that will break it out for me? Please note that I'm not looking
for documentation on the method. I'm looking for the equivalent of the
actual source code.

Motivation? I was recently learning about the AsyncOperationManager class
and came across this link - which looks like source code that is or could be
the very source code for the AsyncOperationManager.

http://www.koders.com/csharp/fidC71069981AC71303F8EF8C24FABB13BC3D41EBC3.aspx?s=sort

This is very helpful to have - and I understand that site provides a lot of
such code. Just wondering how I can get that on my own - without having to
rely on any Web site (that site might become outdated, etc).

Thanks.
Michael Robinson - 16 Sep 2007 18:07 GMT
> Let's say I want to see actual source code for some Framework member - say
> the .BeginInvoke() of the delegate class. How can I acquire that? Is there
[quoted text clipped - 13 lines]
>
> Thanks.

.NET is closed-course. You might want to look at Mono's since it's meant
to mimic .NET's functionality, and much of its guts should be similar
enough to use as a reference.

Signature

http://weblog.mkronline.com/

Arne Vajhøj - 16 Sep 2007 18:07 GMT
> Let's say I want to see actual source code for some Framework member - say
> the .BeginInvoke() of the delegate class. How can I acquire that? Is there
[quoted text clipped - 11 lines]
> such code. Just wondering how I can get that on my own - without having to
> rely on any Web site (that site might become outdated, etc).

I believe koders.com has the Mono source code not the MS source code.

You can use:

Reflector (http://www.aisto.com/roeder/dotnet/)
FileDisAssembler (http://www.denisbauer.com/NETTools/FileDisassembler.aspx)

Arne
Mattias Sjögren - 16 Sep 2007 18:12 GMT
>Let's say I want to see actual source code for some Framework member - say
>the .BeginInvoke() of the delegate class. How can I acquire that? Is there
>some utility that will break it out for me? Please note that I'm not looking
>for documentation on the method. I'm looking for the equivalent of the
>actual source code.

Microsoft provides a shared source CLI implementation, and large parts
of it is based on the same source code as the .NET framework.
http://msdn.microsoft.com/net/sscli

Mattias

Signature

Mattias Sjögren [C# MVP]  mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

DaveP - 16 Sep 2007 18:39 GMT
im not sure..you mite wanna download the SDK
from microsoft

DaveP

> Let's say I want to see actual source code for some Framework member - say
> the .BeginInvoke() of the delegate class. How can I acquire that? Is there
[quoted text clipped - 13 lines]
>
> Thanks.
Andreas Mueller - 16 Sep 2007 21:30 GMT
> Let's say I want to see actual source code for some Framework member - say
> the .BeginInvoke() of the delegate class. How can I acquire that? Is there
[quoted text clipped - 13 lines]
>
> Thanks.

You can use Lutz Roeder's Reflector tool to look into the method in
question.
http://www.aisto.com/roeder/dotnet/

HTH,
Andy

Signature

You can email me by removing the NOSPAM parts below:
xmen40NOSPAM@gmxNOSPAM.net


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.