Home > Net >  How to look at the c #. Net open source code
How to look at the c #. Net open source code

Time:09-16

How to see the c #,.net open source code

Don't know how to look after entering https://github.com/dotnet/roslyn/tree/master/src?
My English is not very good
Did I do not know where to look under the great god teach the younger brother, let the younger brother study,.net source code,

CodePudding user response:

Roslyn is a compiler, you is to look at the source of the compiler?

CodePudding user response:

reference 1st floor closurer response:
roslyn is a compiler, you is to look at the source of the compiler?

Don't I want to see I need to see the compiler source code, the source code of the.net framework

CodePudding user response:

I see SLNS (solution), and detected the root directory is proj (project) file, use vs open directly (may need high version vs),

CodePudding user response:

The.net Framework is a bit vague word, from a practical point of view, programmers commonly seen were. The.net Framework class library source,

If what you said is this, the most convenient way is to go to the Reference Source:
https://referencesource.microsoft.com/

CodePudding user response:

CodePudding user response:

4th floor is provided by the.net source code, but also is the core part, many of the key

CodePudding user response:

reference 5 floor qq_38804678 reply:


Could you tell me how to science on the Internet, you use the translation function?

CodePudding user response:

refer to 7th floor closurer response:
Quote: refer to fifth floor qq_38804678 response:



Could you tell me how to science on the Internet, you use the translation function?


Browser can to translate ah, no translation function to install a plug-in

CodePudding user response:

Install a git client, and then clone part you want to your local, clone is equivalent to download, you can see,

CodePudding user response:

To sum up, see.net open source of c/c + +, c # is nothing

CodePudding user response:

http://demo.gewuzixun.cn/
http://api.gewuzixun.cn/docs/kj_api

CodePudding user response:


A browser issue, I are using the UC browser,


CodePudding user response:

The underlying c # class library (.net Core) in the source code: https://github.com/dotnet/corefx

CodePudding user response:

Don't need to see, you don't have time to see, you directly to find some point you don't know how to achieve, such as you don't write timeout, then you look at how to control the timeout of Microsoft into

As the framework code, you didn't look at that time, really want to see less direct, Linux, nunix code, because that has a very professional books to system analysis, he has a structure, organized,

CodePudding user response:

Make compiling and debugging environment is configured, dotnet - the core code clone down including its runtime - framework library and then compile it into the corresponding binary file you in writing the corresponding dotnet - core hosted application
And then gradually to debug,

By the way if you just want to see the dotnet - the core runtime - framework code, does not necessarily need general upward; You can simply read the code (find) that interest you, but the dotnet - the core framework code
A lot of differences with the.net framework code, from the design point of view is different,
Understand dotnet - the core framework is necessary, but for the moment should be the main understanding..net framework is more realistic,

But similar if not related service platform API class code is almost the same, such as collection; And dotnet - the core framework itself still exist many problems, have you noticed. Net for so many years is not a bug? And it's the bug CLR level

Dotnet - core is still a lack of a long time for stability at the same time it is now very thin a lot of things not complete enough support, but do not deny that they are the same but different source, there are a lot of common ground between remove the platform API interface, can guarantee the migration of many commonly used for rapid,

And dotnet and dotnet - core they are out of "library system based on common base frame" a reflection of the huge system of cultured is migration and low learning quickly, people only need to learn a framework library it can eat through framework includes "all languages, the processor platform, system platform",

CodePudding user response:

I write some source code blog

[breakpoint debugging Windows source code] (https://lindexi.gitee.io/post/%E6%96%AD%E7%82%B9%E8%B0%83%E8%AF%95-Windows-%E6%BA%90%E4%BB%A3%E7%A0%81.html)

The ScrollViewer [the.net Framework source code] (https://lindexi.gitee.io/post/.net-Framework-%E6%BA%90%E4%BB%A3%E7%A0%81-ScrollViewer.html)

CodePudding user response:

CLONE down will know what is

CodePudding user response:

closure reference 4 floor guest response:
. The.net Framework is a bit vague word, from a practical point of view, programmers commonly seen were. The.net Framework class library source,

If what you said is this, the most convenient way is to go to the Reference Source:
https://referencesource.microsoft.com/
thank you for your recommendation

CodePudding user response:

The.net source code in the Core framework itself: https://github.com/dotnet/runtime
  •  Tags:  
  • C#
  • Related